table of contents
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
- Leap-15.6
| std::experimental::atomic_weak_ptr(3) | C++ Standard Libary | std::experimental::atomic_weak_ptr(3) |
NAME¶
std::experimental::atomic_weak_ptr - std::experimental::atomic_weak_ptr
Synopsis¶
Defined in header <experimental/atomic> template< class T > (concurrency TS) class atomic_weak_ptr;
The class template atomic_weak_ptr provides thread-safe atomic pointer operations over a std::weak_ptr.
Member functions¶
constructor constructs an atomic_weak_ptr object
(public member function) operator= stores a value into an
atomic_weak_ptr object
(public member function) is_lock_free checks if the atomic_weak_ptr
object is lock-free
(public member function)
atomically replaces the value of the atomic object with a store non-atomic
argument
(public member function) load atomically obtains the value of the
atomic object
(public member function) operator weak_ptr<T> loads a value from
an atomic object
(public member function)
atomically replaces the value of the atomic object and obtains the exchange
value held previously
(public member function)
atomically compares the value of the atomic object with non-atomic
compare_exchange_weak argument and performs atomic exchange if equal or
atomic load if compare_exchange_strong not
(public member function)
| 2026.11.10 | http://cppreference.com |