823 B
823 B
[pointer.traits.general]
20 Memory management library [mem]
20.2 Memory [memory]
20.2.3 Pointer traits [pointer.traits]
20.2.3.1 General [pointer.traits.general]
The class template pointer_traits supplies a uniform interface to certain attributes of pointer-like types.
namespace std {template struct pointer_traits {see below; }; template struct pointer_traits<T*> {using pointer = T*; using element_type = T; using difference_type = ptrdiff_t; template using rebind = U*; static constexpr pointer pointer_to(see below r) noexcept; };}