aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-06-16 22:34:55 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-06-16 22:34:55 +0100
commitcc799df98f6eaf73763a069f7854e490a0416573 (patch)
tree875eef724ce403355bd79b0222ab4f57813f5c54 /gcc/d/expr.cc
parent15cf136abe0461f2bcf2ccf7a0e4e495f2362b75 (diff)
downloadgcc-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