LWG-3949 atomic<bool>'s trivial destructor dropped in C++17 spec wording
This is already implemented and tested, we just need to drop "(and bool)" from this comment:
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<1>>>); // these struct cases (and bool) |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<2>>>); // aren't technically required to work |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<3>>>); // in the spec, but we think they should |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<4>>>); // on any reasonable implementation |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<5>>>); |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<6>>>); |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<7>>>); |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<8>>>); |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<9>>>); |
|
STATIC_ASSERT(is_trivially_destructible_v<atomic<bool>>); |
LWG-3949
atomic<bool>'s trivial destructor dropped in C++17 spec wordingThis is already implemented and tested, we just need to drop "(and bool)" from this comment:
STL/tests/std/tests/Dev11_0863628_atomic_compare_exchange/test.cpp
Lines 326 to 335 in 46843b3