https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88996
--- Comment #7 from emsr at gcc dot gnu.org --- 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 <3dw...@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