[libcxx-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 7 03:03:48 PDT 2025


================
@@ -78,23 +301,22 @@ public:
                       __split_buffer,
                       void>;
 
-  pointer __first_;
-  pointer __begin_;
-  pointer __end_;
-  _LIBCPP_COMPRESSED_PAIR(pointer, __cap_, allocator_type, __alloc_);
+  _Layout<__split_buffer> __data_;
----------------
philnik777 wrote:

Could we make this a base instead? I think that would remove the need for a bunch of trivial wrappers throughout the class.

https://github.com/llvm/llvm-project/pull/139632


More information about the libcxx-commits mailing list