std::atomic_ref<T>::address
constexpr T* address() const noexcept; | (since C++26) |
Obtains the stored pointer.
Return value
Notes
| Feature-test macro | Value | Std | Feature |
|---|---|---|---|
__cpp_lib_atomic_ref | 202411L | (C++26) |
std::atomic_ref::address() |
Example
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/atomic/atomic_ref/address