r269372 - in /trunk/libstdc++-v3: ChangeLog inc...
emsr@gcc.gnu.org
emsr@gcc.gnu.org
Mon Mar 4 20:11:00 GMT 2019
Author: emsr
Date: Mon Mar 4 20:11:14 2019
New Revision: 269372
URL: https://gcc.gnu.org/viewcvs?rev=269372&root=gcc&view=rev
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++2a.cc
trunk/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++2a_neg.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/atomic_base.h
More information about the Libstdc++-cvs
mailing list