# std::atomic_ref<T>::address

> C++ Atlas: `cppatlas.com/w/cpp/atomic/atomic_ref/address` | Source: https://en.cppreference.com/w/cpp/atomic/atomic_ref/address | Domain: atomic | Standards: C++26

Obtains the stored pointer.

## Official Specification Summary (cppreference)

```cpp
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

> Note: This section is incomplete Reason: no example

---
Attribution: content from https://en.cppreference.com/w/cpp/atomic/atomic_ref/address (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.