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

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 21 01:33:14 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;
----------------
frederick-vs-ja wrote:

Hmm, I don't really care about this. But haven't Niklaus confirmed this before in https://github.com/llvm/llvm-project/pull/224886#discussion_r4257117757?

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


More information about the libcxx-commits mailing list