-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
LWGLibrary Working Group issueLibrary Working Group issuefixedSomething works now, yay!Something works now, yay!
Description
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:
STL/tests/std/tests/Dev11_0863628_atomic_compare_exchange/test.cpp
Lines 326 to 335 in 46843b3
| 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>>); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
LWGLibrary Working Group issueLibrary Working Group issuefixedSomething works now, yay!Something works now, yay!
Type
Projects
Status
Done