std::atomic_ref<T>::operator value_type
From cppreference.com
< cpp | atomic | atomic ref
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::atomic_ref
| Member functions | ||||
atomic_ref::operator value_type | ||||
|
(C++26)
|
||||
|
Operations for arithmetic types (except bool and pointer-to-object)
|
||||
|
Operations for integral types (except bool and pointer-to-object)
|
||||
|
(C++26)
|
||||
|
(C++26)
|
||||
| Operations for integral types (except bool) | ||||
| Constants | ||||
operator value_type() const noexcept; |
(constexpr since C++26) | |
Equivalent to return load();.
Return value
As described above.
See also
| atomically obtains the value of the referenced object (public member function) |