Implent C++20 std::atomic_flag::test
authorUlrich Drepper <drepper@gmail.com>
Tue, 12 May 2020 05:37:09 +0000 (07:37 +0200)
committerUlrich Drepper <drepper@gmail.com>
Tue, 12 May 2020 05:37:09 +0000 (07:37 +0200)
commit491ba663e05887c0353edf571be36e8f04183df3
tree02c49f36e2cd70a2b67761950661c9662d6c0d73
parent3ebd168b443d946f9381d012176e38598987b133
Implent C++20 std::atomic_flag::test

        * include/bits/atomic_base.h (atomic_flag): Implement test member
        function.
        * include/std/version: Define __cpp_lib_atomic_flag_test.
        * testsuite/29_atomics/atomic_flag/test/explicit.cc: New file.
        * testsuite/29_atomics/atomic_flag/test/implicit.cc: New file.
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_base.h
libstdc++-v3/include/std/version