[libcxx-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)
Christopher Di Bella via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 2 15:49:52 PDT 2025
================
@@ -78,23 +80,232 @@ public:
__split_buffer,
void>;
- pointer __first_;
- pointer __begin_;
- pointer __end_;
- _LIBCPP_COMPRESSED_PAIR(pointer, __cap_, allocator_type, __alloc_);
+ struct __data {
----------------
cjdb wrote:
I decided to keep it as a member of `__split_buffer` to simplify the implementation, but defined it outside so that it resembled the spirit of this request. I was also able to put `invariants()` back into `__split_buffer::__invariants()`.
https://github.com/llvm/llvm-project/pull/139632
More information about the libcxx-commits
mailing list