std::atomic_ref<T>:: address
From cppreference.com
<
cpp
|
atomic
|
atomic ref
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::atomic_ref
| Member functions | ||||
|
atomic_ref::address
(C++26)
|
||||
| Constants | ||||
| Specialized member functions | ||||
|
Specialized for integral,
floating-point and pointer types |
||||
|
Specialized for integral and
pointer types only |
||||
|
(C++26)
|
||||
|
(C++26)
|
||||
| Specialized for integral types only | ||||
|
Member only of non-specialized
std::atomic_ref
|
||
|
constexpr
T
*
address
(
)
const
noexcept
;
|
(1) | (since C++26) |
|
Member only of
std::atomic_ref
specialized for
integral-type
s
|
||
|
constexpr
/*integral-type*/
*
address
(
)
const
noexcept
;
|
(2) | (since C++26) |
|
Member only of
std::atomic_ref
specialized for
floating-type
s
|
||
|
constexpr
/*floating-point-type*/
*
address
(
)
const
noexcept
;
|
(3) | (since C++26) |
|
Member only of
std::atomic_ref
specialized for
pointer-type
s
|
||
|
constexpr
/*pointer-type*/
*
address
(
)
const
noexcept
;
|
(4) | (since C++26) |
|
This section is incomplete
Reason: explanatory text |
Return value
The object's address.
Notes
| Feature-test macro | Value | Std | Feature |
|---|---|---|---|
__cpp_lib_atomic_ref
|
202411L | (C++26) |
std::atomic_ref
's object address
|
Example
|
This section is incomplete
Reason: no example |
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/atomic/atomic_ref/address&oldid=177944
"