Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::atomic_ref<T>::address

Obtains the stored pointer.

NotebookLM
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

This section is incomplete
Reason: no example

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.