cpp/memory/pointer traits/pointer to

Constructs a dereferenceable pointer or pointer-like object ("fancy pointer") to its argument.

@1@ The version of this function in the non-specialized std template simply calls, and if Ptr does not provide a static member function , instantiation of this function is a compile-time error. @2@ The version of this function in the specialization of std for pointer types returns.

Return value
A dereferenceable pointer to, of the type.

Exceptions
@1@ Unspecified (typically same as ).