[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_;
__split_buffer(const __split_buffer&) = delete;
__split_buffer& operator=(const __split_buffer&) = delete;
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI __split_buffer()
_NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
- : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __cap_(nullptr) {}
+ : __data_() {}
----------------
philnik777 wrote:
```suggestion
= default;
```
That should do it, right?
https://github.com/llvm/llvm-project/pull/139632
More information about the libcxx-commits
mailing list