Namespaces
Variants
Actions

std::atomic_ref<T>::operator value_type

From cppreference.com
< cpp‎ | atomic‎ | atomic ref
 
 
Concurrency support library
(C++11)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++11)
(C++11)
(C++17)
(C++11)
(C++14)
(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++26)
(C++26)
(C++26)
(C++26)
(C++11)
(C++20)
(C++11)
(C++11)(deprecated in C++20)
(C++11)(deprecated in C++20)
(C++11)
(C++11)(deprecated in C++26)
 
std::atomic_ref
atomic_ref::operator value_type
 
operator value_type() const noexcept;
(constexpr since C++26)

Equivalent to return load();.

[edit] Return value

As described above.

[edit] See also

atomically obtains the value of the referenced object
(public member function) [edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/atomic/atomic_ref/operator_T&oldid=179452"

AltStyle によって変換されたページ (->オリジナル) /