| Defined in header |
static element_type* to_address(pointer p) noexcept;
|(1)|| (since C++20) |
(optional member of user-defined specialization)
Constructs a raw pointer that references the same object as its pointer-like ("fancy pointer") argument.
This function, if defined, is the inverse of
pointer_to, and exists as the customization point to be called by
|p||-||fancy pointer/pointer-like object|
A raw pointer of the type
element_type* that references the same memory location as the argument
| obtains a dereferenceable pointer to its argument
(public static member function)
| obtains a raw pointer from a pointer-like type
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.