std::atomic< _Tp > Struct Template Reference

Public Member Functions

 atomic (const atomic &)=delete
constexpr atomic (_Tp __i)
bool compare_exchange_strong (_Tp &, _Tp, memory_order, memory_order)
bool compare_exchange_strong (_Tp &, _Tp, memory_order, memory_order) volatile
bool compare_exchange_strong (_Tp &, _Tp, memory_order=memory_order_seq_cst)
bool compare_exchange_strong (_Tp &, _Tp, memory_order=memory_order_seq_cst) volatile
bool compare_exchange_weak (_Tp &, _Tp, memory_order, memory_order)
bool compare_exchange_weak (_Tp &, _Tp, memory_order, memory_order) volatile
bool compare_exchange_weak (_Tp &, _Tp, memory_order=memory_order_seq_cst)
bool compare_exchange_weak (_Tp &, _Tp, memory_order=memory_order_seq_cst) volatile
_Tp exchange (_Tp __i, memory_order=memory_order_seq_cst)
_Tp exchange (_Tp __i, memory_order=memory_order_seq_cst) volatile
bool is_lock_free () const
bool is_lock_free () const volatile
_Tp load (memory_order=memory_order_seq_cst) const
_Tp load (memory_order=memory_order_seq_cst) const volatile
 operator _Tp () const
 operator _Tp () const volatile
atomicoperator= (const atomic &)=delete
atomicoperator= (const atomic &) volatile=delete
_Tp operator= (_Tp __i)
_Tp operator= (_Tp __i) volatile
void store (_Tp, memory_order=memory_order_seq_cst)
void store (_Tp, memory_order=memory_order_seq_cst) volatile

Detailed Description

template<typename _Tp>
struct std::atomic< _Tp >

atomic 29.4.3, Generic atomic type, primary class template.

Definition at line 155 of file atomic.

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