23 General utilities library [utilities]

23.10 Memory [memory]

23.10.3 Pointer traits [pointer.traits] Pointer traits member functions [pointer.traits.functions]

static pointer pointer_traits::pointer_to(see below r); static pointer pointer_traits<T*>::pointer_to(see below r) noexcept;

Remarks: If element_­type is cv void, the type of r is unspecified; otherwise, it is element_­type&.

Returns: The first member function returns a pointer to r obtained by calling Ptr​::​pointer_­to(r) through which indirection is valid; an instantiation of this function is ill-formed if Ptr does not have a matching pointer_­to static member function. The second member function returns addressof(r).