libstdc++
std::atomic< unsigned long long > Struct Reference

#include <atomic>

Public Types

typedef __atomic_base< unsigned long long > __base_type
typedef unsigned long long __integral_type
using value_type

Public Member Functions

constexpr atomic (__integral_type __i) noexcept
 atomic (const atomic &)=delete
bool compare_exchange_strong (unsigned long long &__e, unsigned long long __i, memory_order __s, memory_order __f) noexcept
bool compare_exchange_weak (unsigned long long &__e, unsigned long long __i, memory_order __s, memory_order __f) noexcept
unsigned long long exchange (unsigned long long __i, memory_order __m=memory_order_seq_cst) noexcept
bool is_lock_free () const noexcept
unsigned long long load (memory_order __m=memory_order_seq_cst) const noexcept
 operator unsigned long long () const noexcept
 operator unsigned long long () const volatile noexcept
atomic & operator= (const atomic &) volatile =delete
atomic & operator= (const atomic &)=delete
void store (unsigned long long __i, memory_order __m=memory_order_seq_cst) noexcept

Detailed Description

Explicit specialization for unsigned long long.

Definition at line 950 of file atomic.

Member Typedef Documentation

◆ __base_type

typedef __atomic_base<unsigned long long> std::atomic< unsigned long long >::__base_type

Definition at line 953 of file atomic.

◆ __integral_type

typedef unsigned long long std::atomic< unsigned long long >::__integral_type

Definition at line 952 of file atomic.

◆ value_type

using std::atomic< unsigned long long >::value_type

Definition at line 201 of file atomic.

Constructor & Destructor Documentation

◆ atomic()

std::atomic< unsigned long long >::atomic ( __integral_type __i)
inlineconstexprnoexcept

Definition at line 961 of file atomic.

Member Function Documentation

◆ compare_exchange_strong()

bool std::atomic< unsigned long long >::compare_exchange_strong ( unsigned long long & __e,
unsigned long long __i,
memory_order __s,
memory_order __f )
inlinenoexcept

Definition at line 377 of file atomic.

◆ compare_exchange_weak()

bool std::atomic< unsigned long long >::compare_exchange_weak ( unsigned long long & __e,
unsigned long long __i,
memory_order __s,
memory_order __f )
inlinenoexcept

Definition at line 349 of file atomic.

◆ exchange()

unsigned long long std::atomic< unsigned long long >::exchange ( unsigned long long __i,
memory_order __m = memory_order_seq_cst )
inlinenoexcept

Definition at line 326 of file atomic.

◆ is_lock_free()

bool std::atomic< unsigned long long >::is_lock_free ( ) const
inlinenoexcept

Definition at line 271 of file atomic.

◆ load()

unsigned long long std::atomic< unsigned long long >::load ( memory_order __m = memory_order_seq_cst) const
inlinenoexcept

Definition at line 308 of file atomic.

◆ operator unsigned long long() [1/2]

std::atomic< unsigned long long >::operator unsigned long long ( ) const
inlinenoexcept

Definition at line 256 of file atomic.

◆ operator unsigned long long() [2/2]

std::atomic< unsigned long long >::operator unsigned long long ( ) const volatile
inlinenoexcept

Definition at line 259 of file atomic.

◆ store()

void std::atomic< unsigned long long >::store ( unsigned long long __i,
memory_order __m = memory_order_seq_cst )
inlinenoexcept

Definition at line 292 of file atomic.


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