stdatomicoperatort(3)
std::atomic<T>::operatorT - std::atomic<T>::operatorT
Synopsis
operator T() const noexcept;
(since C++ 11)
operator T() const volatile noexcept;Atomically loads and returns the current value of the atomic variable. Equivalent to load().
Parameters
(none)
Return value
The current value of the atomic variable.
See also