libstdc++
std::atomic< bool > Struct Template Reference

Public Member Functions

 atomic (const atomic &)=delete
 
constexpr atomic (bool __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
 
atomicoperator= (const atomic &)=delete
 
atomicoperator= (const atomic &) volatile=delete
 
bool operator= (bool __i) noexcept
 
bool operator= (bool __i) volatile noexcept
 
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 >

atomic<bool>

Definition at line 63 of file atomic.


The documentation for this struct was generated from the following file: