20
Memory management library
[mem]
20.2
Memory
[memory]
20.2.11
addressof
[specialized.addressof]
🔗
template
<
class
T
>
constexpr
T
*
addressof
(
T
&
r
)
noexcept
;
1
#
Returns
: The actual address of the object or function referenced by
r
, even in the presence of an overloaded
operator
&
.
2
#
Remarks
: An expression
addressof
(
E
)
is a constant subexpression (
[defns.
const.
subexpr]
) if
E
is an lvalue constant subexpression
.