std::atomic_flag::test
Min standard notice:
Atomically reads the value of the *this and returns the value.
# Declarations
bool test( std::memory_order order =
std::memory_order_seq_cst ) const volatile noexcept;
(since C++20)
bool test( std::memory_order order =
std::memory_order_seq_cst ) const noexcept;
(since C++20)
# Parameters
order: the memory synchronization ordering
# Return value
The value atomically read.
# Example
This section is incompleteReason: no example