.TH "std::__atomic_base< _ITp >" 3cxx "Sun Jan 8 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::__atomic_base< _ITp > \- Base class for atomic integrals\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "using \fBdifference_type\fP = value_type" .br .ti -1c .RI "using \fBvalue_type\fP = _ITp" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "constexpr \fB__atomic_base\fP (__int_type __i) noexcept" .br .ti -1c .RI "\fB__atomic_base\fP (const \fB__atomic_base\fP &)=delete" .br .ti -1c .RI "bool \fBcompare_exchange_strong\fP (__int_type &__i1, __int_type __i2, \fBmemory_order\fP __m1, \fBmemory_order\fP __m2) noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_strong\fP (__int_type &__i1, __int_type __i2, \fBmemory_order\fP __m1, \fBmemory_order\fP __m2) volatile noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_strong\fP (__int_type &__i1, __int_type __i2, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_strong\fP (__int_type &__i1, __int_type __i2, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_weak\fP (__int_type &__i1, __int_type __i2, \fBmemory_order\fP __m1, \fBmemory_order\fP __m2) noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_weak\fP (__int_type &__i1, __int_type __i2, \fBmemory_order\fP __m1, \fBmemory_order\fP __m2) volatile noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_weak\fP (__int_type &__i1, __int_type __i2, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "bool \fBcompare_exchange_weak\fP (__int_type &__i1, __int_type __i2, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "__int_type \fBexchange\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "__int_type \fBexchange\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "__int_type \fBfetch_add\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "__int_type \fBfetch_add\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "__int_type \fBfetch_and\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "__int_type \fBfetch_and\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "__int_type \fBfetch_or\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "__int_type \fBfetch_or\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "__int_type \fBfetch_sub\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "__int_type \fBfetch_sub\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "__int_type \fBfetch_xor\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "__int_type \fBfetch_xor\fP (__int_type __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 "__int_type \fBload\fP (\fBmemory_order\fP __m=memory_order_seq_cst) const noexcept" .br .ti -1c .RI "__int_type \fBload\fP (\fBmemory_order\fP __m=memory_order_seq_cst) const volatile noexcept" .br .ti -1c .RI "void \fBnotify_all\fP () noexcept" .br .ti -1c .RI "void \fBnotify_one\fP () noexcept" .br .ti -1c .RI "\fBoperator __int_type\fP () const noexcept" .br .ti -1c .RI "\fBoperator __int_type\fP () const volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator&=\fP (__int_type __i) noexcept" .br .ti -1c .RI "__int_type \fBoperator&=\fP (__int_type __i) volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator++\fP () noexcept" .br .ti -1c .RI "__int_type \fBoperator++\fP () volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator++\fP (int) noexcept" .br .ti -1c .RI "__int_type \fBoperator++\fP (int) volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator+=\fP (__int_type __i) noexcept" .br .ti -1c .RI "__int_type \fBoperator+=\fP (__int_type __i) volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator\-\-\fP () noexcept" .br .ti -1c .RI "__int_type \fBoperator\-\-\fP () volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator\-\-\fP (int) noexcept" .br .ti -1c .RI "__int_type \fBoperator\-\-\fP (int) volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator\-=\fP (__int_type __i) noexcept" .br .ti -1c .RI "__int_type \fBoperator\-=\fP (__int_type __i) volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator=\fP (__int_type __i) noexcept" .br .ti -1c .RI "__int_type \fBoperator=\fP (__int_type __i) volatile noexcept" .br .ti -1c .RI "\fB__atomic_base\fP & \fBoperator=\fP (const \fB__atomic_base\fP &) volatile=delete" .br .ti -1c .RI "\fB__atomic_base\fP & \fBoperator=\fP (const \fB__atomic_base\fP &)=delete" .br .ti -1c .RI "__int_type \fBoperator^=\fP (__int_type __i) noexcept" .br .ti -1c .RI "__int_type \fBoperator^=\fP (__int_type __i) volatile noexcept" .br .ti -1c .RI "__int_type \fBoperator|=\fP (__int_type __i) noexcept" .br .ti -1c .RI "__int_type \fBoperator|=\fP (__int_type __i) volatile noexcept" .br .ti -1c .RI "void \fBstore\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) noexcept" .br .ti -1c .RI "void \fBstore\fP (__int_type __i, \fBmemory_order\fP __m=memory_order_seq_cst) volatile noexcept" .br .ti -1c .RI "void \fBwait\fP (__int_type __old, \fBmemory_order\fP __m=memory_order_seq_cst) const noexcept" .br .in -1c .SH "Detailed Description" .PP .SS "template .br struct std::__atomic_base< _ITp >"Base class for atomic integrals\&. .PP Definition at line \fB324\fP of file \fBatomic\fP\&. .SH "Member Typedef Documentation" .PP .SS "template using \fBstd::__atomic_base\fP< _ITp >::difference_type = value_type" .PP Definition at line \fB327\fP of file \fBatomic\fP\&. .SS "template using \fBstd::__atomic_base\fP< _ITp >::value_type = _ITp" .PP Definition at line \fB326\fP of file \fBatomic\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template constexpr \fBstd::__atomic_base\fP< _ITp >::__atomic_base (__int_type __i)\fC [inline]\fP, \fC [constexpr]\fP, \fC [noexcept]\fP" .PP Definition at line \fB345\fP of file \fBatomic\fP\&. .SH "Member Function Documentation" .PP .SS "template bool \fBstd::__atomic_base\fP< _ITp >::compare_exchange_strong (__int_type & __i1, __int_type __i2, \fBmemory_order\fP __m1, \fBmemory_order\fP __m2)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB555\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::compare_exchange_strong (__int_type & __i1, __int_type __i2, \fBmemory_order\fP __m1, \fBmemory_order\fP __m2) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB565\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::compare_exchange_strong (__int_type & __i1, __int_type __i2, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB576\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::compare_exchange_strong (__int_type & __i1, __int_type __i2, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB584\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::compare_exchange_weak (__int_type & __i1, __int_type __i2, \fBmemory_order\fP __m1, \fBmemory_order\fP __m2)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB518\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::compare_exchange_weak (__int_type & __i1, __int_type __i2, \fBmemory_order\fP __m1, \fBmemory_order\fP __m2) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB528\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::compare_exchange_weak (__int_type & __i1, __int_type __i2, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB539\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::compare_exchange_weak (__int_type & __i1, __int_type __i2, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB547\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::exchange (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB503\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::exchange (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB511\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_add (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB616\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_add (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB621\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_and (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB636\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_and (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB641\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_or (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB646\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_or (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB651\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_sub (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB626\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_sub (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB631\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_xor (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB656\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::fetch_xor (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB661\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::is_lock_free () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB440\fP of file \fBatomic\fP\&. .SS "template bool \fBstd::__atomic_base\fP< _ITp >::is_lock_free () const volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB448\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::load (\fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB481\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::load (\fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) const volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB492\fP of file \fBatomic\fP\&. .SS "template void \fBstd::__atomic_base\fP< _ITp >::notify_all ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB609\fP of file \fBatomic\fP\&. .SS "template void \fBstd::__atomic_base\fP< _ITp >::notify_one ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB603\fP of file \fBatomic\fP\&. .SS "template \fBstd::__atomic_base\fP< _ITp >::operator __int_type () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB347\fP of file \fBatomic\fP\&. .SS "template \fBstd::__atomic_base\fP< _ITp >::operator __int_type () const volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB350\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator&= (__int_type __i)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB416\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator&= (__int_type __i) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB420\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator++ ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB384\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator++ () volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB388\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator++ (int)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB368\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator++ (int) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB372\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator+= (__int_type __i)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB400\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator+= (__int_type __i) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB404\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator\-\- ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB392\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator\-\- () volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB396\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator\-\- (int)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB376\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator\-\- (int) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB380\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator\-= (__int_type __i)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB408\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator\-= (__int_type __i) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB412\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator= (__int_type __i)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB354\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator= (__int_type __i) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB361\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator^= (__int_type __i)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB432\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator^= (__int_type __i) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB436\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator|= (__int_type __i)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB424\fP of file \fBatomic\fP\&. .SS "template __int_type \fBstd::__atomic_base\fP< _ITp >::operator|= (__int_type __i) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB428\fP of file \fBatomic\fP\&. .SS "template void \fBstd::__atomic_base\fP< _ITp >::store (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB456\fP of file \fBatomic\fP\&. .SS "template void \fBstd::__atomic_base\fP< _ITp >::store (__int_type __i, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) volatile\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB468\fP of file \fBatomic\fP\&. .SS "template void \fBstd::__atomic_base\fP< _ITp >::wait (__int_type __old, \fBmemory_order\fP __m = \fCmemory_order_seq_cst\fP) const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB593\fP of file \fBatomic\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.