diff options
author | Edward Smith-Rowland <3dw4rd@verizon.net> | 2019-03-04 20:11:14 +0000 |
---|---|---|
committer | Edward Smith-Rowland <emsr@gcc.gnu.org> | 2019-03-04 20:11:14 +0000 |
commit | 94014ee95b2594859168baac31da4c846a256807 (patch) | |
tree | b79096f9660e10e7d5a6b520823cbbc9313e6894 /gcc/hooks.c | |
parent | f0103f7bb010405798fe14afc5972f327835ae57 (diff) | |
download | gcc-94014ee95b2594859168baac31da4c846a256807.zip gcc-94014ee95b2594859168baac31da4c846a256807.tar.gz gcc-94014ee95b2594859168baac31da4c846a256807.tar.bz2 |
PR libstdc++/88996 Implement P0439R0
2019-03-04 Edward Smith-Rowland <3dw4rd@verizon.net>
PR libstdc++/88996 Implement P0439R0
Make std::memory_order a scoped enumeration.
* include/bits/atomic_base.h: For C++20 make memory_order a scoped enum,
add variables for the old enumerators. Adjust calls.
* testsuite/29_atomics/headers/atomic/types_std_c++2a.cc: New test.
* testsuite/29_atomics/headers/atomic/types_std_c++2a_neg.cc: New test.
From-SVN: r269372
Diffstat (limited to 'gcc/hooks.c')
0 files changed, 0 insertions, 0 deletions