cpp20:: atomic_internal
Summary
Typedefs |
|
---|---|
value_t
|
usingstd::remove_volatile_t< T >
|
Functions |
|
---|---|
compare_exchange(T *ptr, value_t< T > & expected, value_t< T > desired, bool is_weak, std::memory_order success, std::memory_order failure)
|
LIB_STDCOMPAT_INLINE_LINKAGE bool
|
compare_exchange_load_memory_order(std::memory_order order)
|
LIB_STDCOMPAT_INLINE_LINKAGE constexpr std::memory_order
|
to_builtin_memory_order(std::memory_order order)
|
LIB_STDCOMPAT_INLINE_LINKAGE constexpr int
|
Typedefs
value_t
std::remove_volatile_t< T > value_t
Functions
compare_exchange
LIB_STDCOMPAT_INLINE_LINKAGE bool compare_exchange( T *ptr, value_t< T > & expected, value_t< T > desired, bool is_weak, std::memory_order success, std::memory_order failure )
compare_exchange_load_memory_order
LIB_STDCOMPAT_INLINE_LINKAGE constexpr std::memory_order compare_exchange_load_memory_order( std::memory_order order )
to_builtin_memory_order
LIB_STDCOMPAT_INLINE_LINKAGE constexpr int to_builtin_memory_order( std::memory_order order )