std::atomic< short > Struct Template Reference
Atomics
Inheritance diagram for std::atomic< short >:
[legend]

## Public Types

typedef atomic_short | __base_type
typedef short | __integral_type

## Public Member Functions

| atomic (const atomic &)=delete
constexpr | atomic (__integral_type __i) noexcept
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) volatilenoexcept
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) volatilenoexcept
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) volatilenoexcept
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) volatilenoexcept
__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) volatilenoexcept
__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) volatilenoexcept
__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) volatilenoexcept
__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) volatilenoexcept
__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) volatilenoexcept
__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) volatilenoexcept
bool | is_lock_free () const noexcept
bool | is_lock_free () const volatilenoexcept
__int_type | load (memory_order __m=memory_order_seq_cst) const noexcept
__int_type | load (memory_order __m=memory_order_seq_cst) const volatilenoexcept
| operator __int_type () const noexcept
| operator __int_type () const volatilenoexcept
__int_type | operator&= (__int_type __i) noexcept
__int_type | operator&= (__int_type __i) volatilenoexcept
__int_type | operator++ (int) noexcept
__int_type | operator++ (int) volatilenoexcept
__int_type | operator++ () noexcept
__int_type | operator++ () volatilenoexcept
__int_type | operator+= (__int_type __i) noexcept
__int_type | operator+= (__int_type __i) volatilenoexcept
__int_type | operator-- (int) noexcept
__int_type | operator-- (int) volatilenoexcept
__int_type | operator-- () noexcept
__int_type | operator-- () volatilenoexcept
__int_type | operator-= (__int_type __i) noexcept
__int_type | operator-= (__int_type __i) volatilenoexcept
atomic & | operator= (const atomic &)=delete
atomic & | operator= (const atomic &) volatile=delete
__int_type | operator^= (__int_type __i) noexcept
__int_type | operator^= (__int_type __i) volatilenoexcept
__int_type | operator|= (__int_type __i) noexcept
__int_type | operator|= (__int_type __i) volatilenoexcept
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) volatilenoexcept

## Detailed Description

### template<>
struct std::atomic< short >

Explicit specialization for short.

Definition at line 552 of file atomic.

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

- atomic