Manpages - std___atomic_base.3

Table of Contents

NAME

std::__atomic_base< _ITp > - Base class for atomic integrals.

SYNOPSIS


#include <atomic_base.h>

Public Types

using difference_type = value_type

using value_type = _ITp

Public Member Functions

constexpr __atomic_base (__int_type __i) noexcept

__atomic_base (const __atomic_base &)=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

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

__int_type operator= (__int_type __i) noexcept

__int_type operator= (__int_type __i) volatile noexcept

__atomic_base & operator= (const __atomic_base &) volatile=delete

__atomic_base & operator= (const __atomic_base &)=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

Detailed Description

“template<typename _ITp>


struct std::__atomic_base< _ITp >“Base class for atomic integrals.

Definition at line 317 of file atomic_base.h.

Member Typedef Documentation

template<typename _ITp > using *std::__atomic_base*< _ITp

>::difference_type = value_type Definition at line 320 of file atomic_base.h.

template<typename _ITp > using *std::__atomic_base*< _ITp

>::value_type = _ITp Definition at line 319 of file atomic_base.h.

Constructor & Destructor Documentation

template<typename _ITp > constexpr *std::__atomic_base*< _ITp

>::*__atomic_base* (__int_type __i)= [inline]=, = [constexpr]=, = [noexcept]= Definition at line 338 of file atomic_base.h.

Member Function Documentation

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::compare_exchange_strong (__int_type & __i1, __int_type __i2, memory_order __m1, memory_order __m2)= [inline]=, = [noexcept]= Definition at line 560 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::compare_exchange_strong (__int_type & __i1, __int_type __i2, memory_order __m1, memory_order __m2) volatile= [inline]=, = [noexcept]= Definition at line 576 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::compare_exchange_strong (__int_type & __i1, __int_type __i2, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 594 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::compare_exchange_strong (__int_type & __i1, __int_type __i2, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 602 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::compare_exchange_weak (__int_type & __i1, __int_type __i2, memory_order __m1, memory_order __m2)= [inline]=, = [noexcept]= Definition at line 511 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::compare_exchange_weak (__int_type & __i1, __int_type __i2, memory_order __m1, memory_order __m2) volatile= [inline]=, = [noexcept]= Definition at line 527 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::compare_exchange_weak (__int_type & __i1, __int_type __i2, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 544 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::compare_exchange_weak (__int_type & __i1, __int_type __i2, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 552 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::exchange (__int_type __i, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 496 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::exchange (__int_type __i, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 504 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_add (__int_type __i, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 634 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_add (__int_type __i, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 639 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_and (__int_type __i, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 654 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_and (__int_type __i, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 659 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_or (__int_type __i, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 664 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_or (__int_type __i, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 669 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_sub (__int_type __i, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 644 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_sub (__int_type __i, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 649 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_xor (__int_type __i, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 674 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::fetch_xor (__int_type __i, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 679 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::is_lock_free () const= [inline]=, = [noexcept]= Definition at line 433 of file atomic_base.h.

template<typename _ITp > bool *std::__atomic_base*< _ITp

>::is_lock_free () const volatile= [inline]=, = [noexcept]= Definition at line 441 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::load (memory_order __m = memory_order_seq_cst) const= [inline]=, = [noexcept]= Definition at line 474 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::load (memory_order __m = memory_order_seq_cst) const volatile= [inline]=, = [noexcept]= Definition at line 485 of file atomic_base.h.

template<typename _ITp > *std::__atomic_base*< _ITp >::operator

__int_type () const= [inline]=, = [noexcept]= Definition at line 340 of file atomic_base.h.

template<typename _ITp > *std::__atomic_base*< _ITp >::operator

__int_type () const volatile= [inline]=, = [noexcept]= Definition at line 343 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator&= (__int_type __i)= [inline]=, = [noexcept]= Definition at line 409 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator&= (__int_type __i) volatile= [inline]=, = [noexcept]= Definition at line 413 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator++ ()= [inline]=, = [noexcept]= Definition at line 377 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator++ () volatile= [inline]=, = [noexcept]= Definition at line 381 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator++ (int)= [inline]=, = [noexcept]= Definition at line 361 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator++ (int) volatile= [inline]=, = [noexcept]= Definition at line 365 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator+= (__int_type __i)= [inline]=, = [noexcept]= Definition at line 393 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator+= (__int_type __i) volatile= [inline]=, = [noexcept]= Definition at line 397 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator– ()= [inline]=, = [noexcept]= Definition at line 385 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator– () volatile= [inline]=, = [noexcept]= Definition at line 389 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator– (int)= [inline]=, = [noexcept]= Definition at line 369 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator– (int) volatile= [inline]=, = [noexcept]= Definition at line 373 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator-= (__int_type __i)= [inline]=, = [noexcept]= Definition at line 401 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator-= (__int_type __i) volatile= [inline]=, = [noexcept]= Definition at line 405 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator= (__int_type __i)= [inline]=, = [noexcept]= Definition at line 347 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator= (__int_type __i) volatile= [inline]=, = [noexcept]= Definition at line 354 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator^= (__int_type __i)= [inline]=, = [noexcept]= Definition at line 425 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator^= (__int_type __i) volatile= [inline]=, = [noexcept]= Definition at line 429 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator|= (__int_type __i)= [inline]=, = [noexcept]= Definition at line 417 of file atomic_base.h.

template<typename _ITp > __int_type *std::__atomic_base*< _ITp

>::operator|= (__int_type __i) volatile= [inline]=, = [noexcept]= Definition at line 421 of file atomic_base.h.

template<typename _ITp > void *std::__atomic_base*< _ITp >::store

(__int_type __i, memory_order __m = memory_order_seq_cst)= [inline]=, = [noexcept]= Definition at line 449 of file atomic_base.h.

template<typename _ITp > void *std::__atomic_base*< _ITp >::store

(__int_type __i, memory_order __m = memory_order_seq_cst) volatile= [inline]=, = [noexcept]= Definition at line 461 of file atomic_base.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Author: dt

Created: 2022-02-21 Mon 14:28