Public Member Functions | Private Attributes | List of all members
moodycamel::weak_atomic< T > Class Template Reference

#include <atomicops.h>

Public Member Functions

AE_FORCEINLINEfetch_add_acquire (T increment) AE_NO_TSAN
 
AE_FORCEINLINEfetch_add_release (T increment) AE_NO_TSAN
 
AE_FORCEINLINEload () const AE_NO_TSAN
 
AE_FORCEINLINE operator T () const AE_NO_TSAN
 
template<typename U >
AE_FORCEINLINE weak_atomic const & operator= (U &&x) AE_NO_TSAN
 
AE_FORCEINLINE weak_atomic const & operator= (weak_atomic const &other) AE_NO_TSAN
 
AE_NO_TSAN weak_atomic ()
 
template<typename U >
AE_NO_TSAN weak_atomic (U &&x)
 
AE_NO_TSAN weak_atomic (weak_atomic const &other)
 
AE_NO_TSAN weak_atomic (weak_atomic &&other)
 

Private Attributes

std::atomic< T > value
 

Detailed Description

template<typename T>
class moodycamel::weak_atomic< T >

Definition at line 280 of file atomicops.h.

Constructor & Destructor Documentation

◆ weak_atomic() [1/4]

template<typename T>
AE_NO_TSAN moodycamel::weak_atomic< T >::weak_atomic ( )
inline

Definition at line 283 of file atomicops.h.

◆ weak_atomic() [2/4]

template<typename T>
template<typename U >
AE_NO_TSAN moodycamel::weak_atomic< T >::weak_atomic ( U &&  x)
inline

Definition at line 291 of file atomicops.h.

◆ weak_atomic() [3/4]

template<typename T>
AE_NO_TSAN moodycamel::weak_atomic< T >::weak_atomic ( weak_atomic< T > const &  other)
inline

Definition at line 300 of file atomicops.h.

◆ weak_atomic() [4/4]

template<typename T>
AE_NO_TSAN moodycamel::weak_atomic< T >::weak_atomic ( weak_atomic< T > &&  other)
inline

Definition at line 303 of file atomicops.h.

Member Function Documentation

◆ fetch_add_acquire()

template<typename T>
AE_FORCEINLINE T moodycamel::weak_atomic< T >::fetch_add_acquire ( increment)
inline

Definition at line 383 of file atomicops.h.

◆ fetch_add_release()

template<typename T>
AE_FORCEINLINE T moodycamel::weak_atomic< T >::fetch_add_release ( increment)
inline

Definition at line 388 of file atomicops.h.

◆ load()

template<typename T>
AE_FORCEINLINE T moodycamel::weak_atomic< T >::load ( ) const
inline

Definition at line 378 of file atomicops.h.

◆ operator T()

template<typename T>
AE_FORCEINLINE moodycamel::weak_atomic< T >::operator T ( ) const
inline

Definition at line 310 of file atomicops.h.

◆ operator=() [1/2]

template<typename T>
template<typename U >
AE_FORCEINLINE weak_atomic const& moodycamel::weak_atomic< T >::operator= ( U &&  x)
inline

Definition at line 366 of file atomicops.h.

◆ operator=() [2/2]

template<typename T>
AE_FORCEINLINE weak_atomic const& moodycamel::weak_atomic< T >::operator= ( weak_atomic< T > const &  other)
inline

Definition at line 372 of file atomicops.h.

Member Data Documentation

◆ value

template<typename T>
std::atomic<T> moodycamel::weak_atomic< T >::value
private

Definition at line 400 of file atomicops.h.


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


pf_driver
Author(s): Harsh Deshpande
autogenerated on Fri Feb 24 2023 03:59:35