Skip to content

Commit

Permalink
Implement LWG-3949: atomic<bool>'s trivial destructor dropped in C+…
Browse files Browse the repository at this point in the history
…+17 spec wording (#4204)
  • Loading branch information
fsb4000 committed Nov 17, 2023
1 parent e6d61a4 commit 3091923
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ constexpr atomic<Bytes<17>> b17_constexpr_v(Bytes<17>{});
#endif // __clang__

// Also test trivial destructors
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<1>>>); // these struct cases (and bool)
STATIC_ASSERT(is_trivially_destructible_v<atomic<Bytes<1>>>); // these struct cases
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
Expand Down

0 comments on commit 3091923

Please sign in to comment.