PonyPlayer
moodycamel::weak_atomic< T > 模板类 参考

#include <atomicops.h>

Public 成员函数

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)
 
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_FORCEINLINEload () const AE_NO_TSAN
 
AE_FORCEINLINEfetch_add_acquire (T increment) AE_NO_TSAN
 
AE_FORCEINLINEfetch_add_release (T increment) AE_NO_TSAN
 

构造及析构函数说明

◆ weak_atomic() [1/4]

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

◆ weak_atomic() [2/4]

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

◆ weak_atomic() [3/4]

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

◆ weak_atomic() [4/4]

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

成员函数说明

◆ fetch_add_acquire()

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

◆ fetch_add_release()

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

◆ load()

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

◆ operator T()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

该类的文档由以下文件生成: