libstdc++
Public Types
|
Public Member Functions
std::atomic< bool > Struct Template Reference
Atomics
Inheritance diagram for std::atomic< bool >:
[
legend
]
List of all members.
Public Types
typedef
atomic_bool
__base_type
typedef bool
__integral_type
Public Member Functions
atomic
(const
atomic
&)
constexpr
atomic
(__integral_type __i) noexcept
bool
compare_exchange_strong
(bool &__i1, bool __i2,
memory_order
__m1,
memory_order
__m2) noexcept
bool
compare_exchange_strong
(bool &__i1, bool __i2,
memory_order
__m1,
memory_order
__m2) volatile noexcept
bool
compare_exchange_strong
(bool &__i1, bool __i2,
memory_order
__m=memory_order_seq_cst) noexcept
bool
compare_exchange_strong
(bool &__i1, bool __i2,
memory_order
__m=memory_order_seq_cst) volatile noexcept
bool
compare_exchange_weak
(bool &__i1, bool __i2,
memory_order
__m1,
memory_order
__m2) noexcept
bool
compare_exchange_weak
(bool &__i1, bool __i2,
memory_order
__m1,
memory_order
__m2) volatile noexcept
bool
compare_exchange_weak
(bool &__i1, bool __i2,
memory_order
__m=memory_order_seq_cst) noexcept
bool
compare_exchange_weak
(bool &__i1, bool __i2,
memory_order
__m=memory_order_seq_cst) volatile noexcept
bool
exchange
(bool __i,
memory_order
__m=memory_order_seq_cst) noexcept
bool
exchange
(bool __i,
memory_order
__m=memory_order_seq_cst) volatile noexcept
bool
is_lock_free
() const noexcept
bool
is_lock_free
() const volatile noexcept
bool
load
(
memory_order
__m=memory_order_seq_cst) const noexcept
bool
load
(
memory_order
__m=memory_order_seq_cst) const volatile noexcept
operator bool
() const noexcept
operator bool
() const volatile noexcept
atomic
&
operator=
(const
atomic
&)
atomic
&
operator=
(const
atomic
&) volatile
void
store
(bool __i,
memory_order
__m=memory_order_seq_cst) noexcept
void
store
(bool __i,
memory_order
__m=memory_order_seq_cst) volatile noexcept
Detailed Description
template<>
struct std::atomic< bool >
Explicit specialization for bool.
Definition at line
473
of file
atomic
.
The documentation for this struct was generated from the following file:
atomic
std
atomic< bool >
Generated by
1.8.0