diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-06-16 22:34:55 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-06-16 22:34:55 +0100 |
commit | cc799df98f6eaf73763a069f7854e490a0416573 (patch) | |
tree | 875eef724ce403355bd79b0222ab4f57813f5c54 /gcc/d/expr.cc | |
parent | 15cf136abe0461f2bcf2ccf7a0e4e495f2362b75 (diff) | |
download | gcc-cc799df98f6eaf73763a069f7854e490a0416573.zip gcc-cc799df98f6eaf73763a069f7854e490a0416573.tar.gz gcc-cc799df98f6eaf73763a069f7854e490a0416573.tar.bz2 |
libstdc++: Enforce copyable/movable checks in std::atomic
C++20 adds some new preconditions to std::atomic, which weren't
previously checked by our implementation.
* include/std/atomic (atomic): Add static assertions.
* testsuite/29_atomics/atomic/requirements/types_neg.cc: New test.
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions