19
General utilities library
[utilities]
19.10
Memory
[memory]
19.10.3
Pointer traits
[pointer.traits]
19.10.3.3
Pointer traits optional members
[pointer.traits.optmem]
1
#
Specializations of
pointer_traits
may define the member declared in this subclause to customize the behavior of the standard library
.
🔗
static element_type* to_address(pointer p) noexcept;
2
#
Returns:
A pointer of type
element_type*
that references the same location as the argument
p
.
3
#
[
 
Note
:
This function should be the inverse of
pointer_to
.
If defined, it customizes the behavior of the non-member function
to_address
(
[pointer.conversion]
)
.
—
 
end note
 
]