Defined in header
template< class Ptr >
auto to_address(const Ptr& p) noexcept;
template< class T >
constexpr T* to_address(T* p) noexcept;
Obtain the address represented by
p without forming a reference to the pointee.
Tis a function type, the program is ill-formed. Otherwise, returns p unmodified.
|p||-||fancy or raw pointer|
 Return value
Raw pointer that represents the same address as
std::to_address can be used even when
p does not reference storage that has an object constructed in it, in which case std::addressof(*p) cannot be used because there's no valid object for the parameter of std::addressof to bind to.
|This section is incomplete|
Reason: no example
 See also
| provides information about pointer-like types |
| obtains a raw pointer from a fancy pointer (inverse of pointer_to) |
(public static member function of