[libcxx-commits] [libcxx] [libc++][test] Fix issues found by MSVC's STL (PR #131787)
Peng Liu via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 18 13:11:18 PDT 2025
================
@@ -71,7 +71,7 @@ TEST_CONSTEXPR_CXX20 bool tests() {
// Test with various allocators and different `size_type`s
{
test(std::vector<bool>());
- test(std::vector<bool, std::allocator<int> >());
+ test(std::vector<bool, std::allocator<bool> >());
----------------
winner245 wrote:
I agree that raising an LWG issue would be a productive way to address this divergence across implementations.
As for the change to this specific test, I am fine with either approach you propose. I don't have a strong preference for one over the other, nor am I certain which would be more appropriate. But once the LWG issue is resolved, we will have a clear path forward.
https://github.com/llvm/llvm-project/pull/131787
More information about the libcxx-commits
mailing list