libycxx

class template partial specialization

std::iterator_traits<T*>

Header
<algorithm> also in <array>, <bitset>, <chrono>, <deque>, <exception> and 50 more
Scope
std
cppreference
<algorithm> nearest page

Synopsis

template<class T>
  requires is_object_v<T>
struct iterator_traits<T*>;

Member types

NameDeclaration
difference_typetype alias · member type= ptrdiff_t
iterator_categorytype alias · member type= random_access_iterator_tag
iterator_concepttype alias · member type= contiguous_iterator_tag
pointertype alias · member type= T*
referencetype alias · member type= T&
value_typetype alias · member type= remove_cv_t<T>