libstdc++
std::atomic< unsigned long > Struct Reference
Inheritance diagram for std::atomic< unsigned long >:
[legend]

Public Types

typedef __atomic_base< unsigned long > __base_type
 
typedef unsigned long __integral_type
 
using difference_type = value_type
 
using value_type = unsigned long
 

Public Member Functions

constexpr atomic (__integral_type __i) noexcept
 
 atomic (const atomic &)=delete
 
bool compare_exchange_strong (__int_type &__i1, __int_type __i2, memory_order __m1, memory_order __m2) noexcept
 
bool compare_exchange_strong (__int_type &__i1, __int_type __i2, memory_order __m1, memory_order __m2) volatile noexcept
 
bool compare_exchange_strong (__int_type &__i1, __int_type __i2, memory_order __m=memory_order_seq_cst) noexcept
 
bool compare_exchange_strong (__int_type &__i1, __int_type __i2, memory_order __m=memory_order_seq_cst) volatile noexcept
 
bool compare_exchange_weak (__int_type &__i1, __int_type __i2, memory_order __m1, memory_order __m2) noexcept
 
bool compare_exchange_weak (__int_type &__i1, __int_type __i2, memory_order __m1, memory_order __m2) volatile noexcept
 
bool compare_exchange_weak (__int_type &__i1, __int_type __i2, memory_order __m=memory_order_seq_cst) noexcept
 
bool compare_exchange_weak (__int_type &__i1, __int_type __i2, memory_order __m=memory_order_seq_cst) volatile noexcept
 
__int_type exchange (__int_type __i, memory_order __m=memory_order_seq_cst) noexcept
 
__int_type exchange (__int_type __i, memory_order __m=memory_order_seq_cst) volatile noexcept
 
__int_type fetch_add (__int_type __i, memory_order __m=memory_order_seq_cst) noexcept
 
__int_type fetch_add (__int_type __i, memory_order __m=memory_order_seq_cst) volatile noexcept
 
__int_type fetch_and (__int_type __i, memory_order __m=memory_order_seq_cst) noexcept
 
__int_type fetch_and (__int_type __i, memory_order __m=memory_order_seq_cst) volatile noexcept
 
__int_type fetch_or (__int_type __i, memory_order __m=memory_order_seq_cst) noexcept
 
__int_type fetch_or (__int_type __i, memory_order __m=memory_order_seq_cst) volatile noexcept
 
__int_type fetch_sub (__int_type __i, memory_order __m=memory_order_seq_cst) noexcept
 
__int_type fetch_sub (__int_type __i, memory_order __m=memory_order_seq_cst) volatile noexcept
 
__int_type fetch_xor (__int_type __i, memory_order __m=memory_order_seq_cst) noexcept
 
__int_type fetch_xor (__int_type __i, memory_order __m=memory_order_seq_cst) volatile noexcept
 
bool is_lock_free () const noexcept
 
bool is_lock_free () const volatile noexcept
 
__int_type load (memory_order __m=memory_order_seq_cst) const noexcept
 
__int_type load (memory_order __m=memory_order_seq_cst) const volatile noexcept
 
void notify_all () noexcept
 
void notify_one () noexcept
 
 operator __int_type () const noexcept
 
 operator __int_type () const volatile noexcept
 
__int_type operator&= (__int_type __i) noexcept
 
__int_type operator&= (__int_type __i) volatile noexcept
 
__int_type operator++ () noexcept
 
__int_type operator++ () volatile noexcept
 
__int_type operator++ (int) noexcept
 
__int_type operator++ (int) volatile noexcept
 
__int_type operator+= (__int_type __i) noexcept
 
__int_type operator+= (__int_type __i) volatile noexcept
 
__int_type operator-- () noexcept
 
__int_type operator-- () volatile noexcept
 
__int_type operator-- (int) noexcept
 
__int_type operator-- (int) volatile noexcept
 
__int_type operator-= (__int_type __i) noexcept
 
__int_type operator-= (__int_type __i) volatile noexcept
 
atomicoperator= (const atomic &) volatile=delete
 
atomicoperator= (const atomic &)=delete
 
__int_type operator^= (__int_type __i) noexcept
 
__int_type operator^= (__int_type __i) volatile noexcept
 
__int_type operator|= (__int_type __i) noexcept
 
__int_type operator|= (__int_type __i) volatile noexcept
 
void store (__int_type __i, memory_order __m=memory_order_seq_cst) noexcept
 
void store (__int_type __i, memory_order __m=memory_order_seq_cst) volatile noexcept
 
void wait (__int_type __old, memory_order __m=memory_order_seq_cst) const noexcept
 

Static Public Attributes

static constexpr bool is_always_lock_free
 

Detailed Description

Explicit specialization for unsigned long.

Definition at line 893 of file atomic.


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