libstdc++
|
Public Types | |
typedef __atomic_base< int > | __base_type |
typedef int | __integral_type |
using | difference_type = value_type |
using | value_type = int |
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 |
atomic & | operator= (const atomic &) volatile=delete |
atomic & | operator= (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 |
typedef __atomic_base<int> std::atomic< int >::__base_type |
typedef int std::atomic< int >::__integral_type |
|
inherited |
Definition at line 327 of file atomic_base.h.
|
inherited |
Definition at line 326 of file atomic_base.h.
|
inlineconstexprnoexcept |
|
inlinenoexceptinherited |
Definition at line 555 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 565 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 576 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 584 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 518 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 528 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 539 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 547 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 503 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 511 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 616 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 621 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 636 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 641 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 646 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 651 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 626 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 631 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 656 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 661 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 440 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 448 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 481 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 492 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 609 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 603 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 347 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 350 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 416 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 420 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 384 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 388 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 368 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 372 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 400 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 404 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 392 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 396 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 376 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 380 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 408 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 412 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 432 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 436 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 424 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 428 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 456 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 468 of file atomic_base.h.
|
inlinenoexceptinherited |
Definition at line 593 of file atomic_base.h.
|
staticconstexpr |