std::atomic_flag::atomic_flag (3) - Linux Manuals
std::atomic_flag::atomic_flag: std::atomic_flag::atomic_flag
Command to display std::atomic_flag::atomic_flag
manual in Linux: $ man 3 std::atomic_flag::atomic_flag
NAME
std::atomic_flag::atomic_flag - std::atomic_flag::atomic_flag
Synopsis
Defined in header <atomic>
atomic_flag() noexcept; (1) (since C++11)
atomic_flag( const atomic_flag& ) = delete; (2) (since C++11)
Constructs a new std::atomic_flag.
1) Trivial default constructor, initializes std::atomic_flag to unspecified state.
2) The copy constructor is deleted; std::atomic_flag is not copyable.
In addition, std::atomic_flag can be value-initialized to clear state with the expression ATOMIC_FLAG_INIT. For an atomic_flag with static storage_duration, this guarantees static_initialization: the flag can be used in constructors of static objects.
See also
ATOMIC_FLAG_INIT initializes an std::atomic_flag to false
(macro constant)
(C++11)
Pages related to std::atomic_flag::atomic_flag
- std::atomic_flag::clear (3) - std::atomic_flag::clear
- std::atomic_flag::operator= (3) - std::atomic_flag::operator=
- std::atomic_flag::test_and_set (3) - std::atomic_flag::test_and_set
- std::atomic_flag (3) - std::atomic_flag
- std::atomic_flag_clear,std::atomic_flag_clear_explicit (3) - std::atomic_flag_clear,std::atomic_flag_clear_explicit
- std::atomic_flag_test_and_set,std::atomic_flag_test_and_set_explicit (3) - std::atomic_flag_test_and_set,std::atomic_flag_test_and_set_explicit
- std::atomic_fetch_add,std::atomic_fetch_add_explicit (3) - std::atomic_fetch_add,std::atomic_fetch_add_explicit
- std::atomic_fetch_and,std::atomic_fetch_and_explicit (3) - std::atomic_fetch_and,std::atomic_fetch_and_explicit
- std::atomic_fetch_or,std::atomic_fetch_or_explicit (3) - std::atomic_fetch_or,std::atomic_fetch_or_explicit
- std::atomic_fetch_sub,std::atomic_fetch_sub_explicit (3) - std::atomic_fetch_sub,std::atomic_fetch_sub_explicit
- std::atomic_fetch_xor,std::atomic_fetch_xor_explicit (3) - std::atomic_fetch_xor,std::atomic_fetch_xor_explicit
- std::atomic_...<std::shared_ptr> (3) - std::atomic_...<std::shared_ptr>
- std::atomic_bool (3)
- std::atomic_compare_exchange_weak,std::atomic_compare_exchange_strong, (3) - std::atomic_compare_exchange_weak,std::atomic_compare_exchange_strong,
- std::atomic_compare_exchange_weak,std::atomic_compare_exchange_strong,std::atomic_compare_exchange_weak_explicit,std::atomic_compare_exchange_strong_explicit (3) - std::atomic_compare_exchange_weak,std::atomic_compare_exchange_strong,std::atomic_compare_exchange_weak_explicit,std::atomic_compare_exchange_strong_explicit
- std::atomic_exchange,std::atomic_exchange_explicit (3) - std::atomic_exchange,std::atomic_exchange_explicit