Spec-Zone.ru › C++

std::atomic_ref<T>::address

constexpr T* address() const noexcept;
(since C++26)

Obtains the stored pointer.

Return value

ptr

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API