std::atomic< bool > Struct Template Reference
Inheritance diagram for std::atomic< bool >:

Public Types

typedef atomic_bool __base_type
typedef bool __integral_type

Public Member Functions

 atomic (const atomic &)=delete
constexpr atomic (__integral_type __i)
bool compare_exchange_strong (bool &__i1, bool __i2, memory_order __m1, memory_order __m2)
bool compare_exchange_strong (bool &__i1, bool __i2, memory_order __m1, memory_order __m2) volatile
bool compare_exchange_strong (bool &__i1, bool __i2, memory_order __m=memory_order_seq_cst)
bool compare_exchange_strong (bool &__i1, bool __i2, memory_order __m=memory_order_seq_cst) volatile
bool compare_exchange_weak (bool &__i1, bool __i2, memory_order __m1, memory_order __m2)
bool compare_exchange_weak (bool &__i1, bool __i2, memory_order __m1, memory_order __m2) volatile
bool compare_exchange_weak (bool &__i1, bool __i2, memory_order __m=memory_order_seq_cst)
bool compare_exchange_weak (bool &__i1, bool __i2, memory_order __m=memory_order_seq_cst) volatile
bool exchange (bool __i, memory_order __m=memory_order_seq_cst)
bool exchange (bool __i, memory_order __m=memory_order_seq_cst) volatile
bool is_lock_free () const
bool is_lock_free () const volatile
bool load (memory_order __m=memory_order_seq_cst) const
bool load (memory_order __m=memory_order_seq_cst) const volatile
 operator bool () const
 operator bool () const volatile
atomicoperator= (const atomic &)=delete
atomicoperator= (const atomic &) volatile=delete
void store (bool __i, memory_order __m=memory_order_seq_cst)
void store (bool __i, memory_order __m=memory_order_seq_cst) volatile

Detailed Description

struct std::atomic< bool >

Explicit specialization for bool.

Definition at line 417 of file atomic.

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