.TH "std::atomic< _Tp >" 3 "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::atomic< _Tp > \- Generic atomic type, primary class template\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Public Types" .in +1c .ti -1c .RI "using \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "constexpr \fBatomic\fP (_Tp __i) noexcept" .br .ti -1c .RI "\fBatomic\fP (const \fBatomic\fP &)=delete" .br .ti -1c .RI "bool \fBcompare_exchange_strong\fP (_Tp &__e, _Tp __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_strong\fP (_Tp &__e, _Tp __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_strong\fP (_Tp &__e, _Tp __i, \fBmemory_order\fP __s, \fBmemory_order\fP __f) noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_strong\fP (_Tp &__e, _Tp __i, \fBmemory_order\fP __s, \fBmemory_order\fP __f) volatile noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_weak\fP (_Tp &__e, _Tp __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_weak\fP (_Tp &__e, _Tp __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_weak\fP (_Tp &__e, _Tp __i, \fBmemory_order\fP __s, \fBmemory_order\fP __f) noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_weak\fP (_Tp &__e, _Tp __i, \fBmemory_order\fP __s, \fBmemory_order\fP __f) volatile noexcept" .br .ti -1c .RI "_Tp \fBexchange\fP (_Tp __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "_Tp \fBexchange\fP (_Tp __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "bool \fBis_lock_free\fP () const noexcept" .br .ti -1c .RI "bool \fBis_lock_free\fP () const volatile noexcept" .br .ti -1c .RI "_Tp \fBload\fP (\fBmemory_order\fP __m=memory_order_seq_cst) const noexcept" .br .ti -1c .RI "_Tp \fBload\fP (\fBmemory_order\fP __m=memory_order_seq_cst) const volatile noexcept" .br .ti -1c .RI "\fBoperator _Tp\fP () const noexcept" .br .ti -1c .RI "\fBoperator _Tp\fP () const volatile noexcept" .br .ti -1c .RI "_Tp \fBoperator=\fP (_Tp __i) noexcept" .br .ti -1c .RI "_Tp \fBoperator=\fP (_Tp __i) volatile noexcept" .br .ti -1c .RI "\fBatomic\fP & \fBoperator=\fP (const \fBatomic\fP &) volatile =delete" .br .ti -1c .RI "\fBatomic\fP & \fBoperator=\fP (const \fBatomic\fP &)=delete" .br .ti -1c .RI "void \fBstore\fP (_Tp __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "void \fBstore\fP (_Tp __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .in -1c .SH "Detailed Description" .PP .SS "template .br struct std::atomic< _Tp >"Generic atomic type, primary class template\&. .PP \fBTemplate Parameters\fP .RS 4 \fI_Tp\fP Type to be made atomic, must be trivially copyable\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.