[pointer.traits.general] (original) (raw)

1

#

The class template pointer_traits supplies a uniform interface to certain attributes of pointer-like types.

🔗

namespace std { template<class Ptr> struct pointer_traits { see below;};template<class T> struct pointer_traits<T*> { using pointer = T*;using element_type = T;using difference_type = ptrdiff_t;template<class U> using rebind = U*;static constexpr pointer pointer_to(see below r) noexcept;};}