[libcxx-commits] [libcxx] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Sun May 25 09:14:19 PDT 2025
================
@@ -78,23 +80,260 @@ public:
__split_buffer,
void>;
- pointer __first_;
- pointer __begin_;
- pointer __end_;
- _LIBCPP_COMPRESSED_PAIR(pointer, __cap_, allocator_type, __alloc_);
+ struct __data {
+ pointer __first_ = nullptr;
+ pointer __begin_ = nullptr;
+#ifndef _LIBCPP_ABI_SIZE_BASED_VECTOR
----------------
philnik777 wrote:
I find this name quite unfortunate, since this patch affects `deque` much more than `vector`. Maybe `_LIBCPP_ABI_SIZE_BASED_CONTAINERS`?
https://github.com/llvm/llvm-project/pull/139632
More information about the libcxx-commits
mailing list