[libcxx-commits] [libcxx] [libc++] Flat containers should reject `vector<bool, Alloc>` (PR #224886)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 21 01:39:18 PDT 2026


================
@@ -24,6 +24,12 @@ class vector;
 template <class _Allocator>
 class vector<bool, _Allocator>;
 
+template <class _Tp>
+inline const bool __is_std_vector_bool_v = false;
----------------
philnik777 wrote:

We don't, but I also don't see a reason to complicate our code by adding guards for this.

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


More information about the libcxx-commits mailing list