[libcxx-commits] [libcxx] [libcxx] adds a size-based representation for `vector`'s unstable ABI (PR #155330)
Christopher Di Bella via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 11 00:36:16 PST 2026
================
@@ -130,15 +146,14 @@ class vector {
//
// [vector.cons], construct/copy/destroy
//
- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector()
- _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value) {}
+ _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector() = default;
----------------
cjdb wrote:
Done. Reverting to `{}` since `vector` is never trivially default-constructible, and it'll simplify the diff further.
https://github.com/llvm/llvm-project/pull/155330
More information about the libcxx-commits
mailing list