std::experimental::ranges::iterator_category

Header: <experimental/ranges/iterator>

Computes the iterator category of the class I, if any. Users may specialize iterator_category for a program-defined type.

# Declarations

template< class I >
struct iterator_category {};
template< class T >
struct iterator_category<T*>;
template< class T >
struct iterator_category<const T> : iterator_category<T> {};
template< class T >
requires requires { typename T::iterator_category; }
struct iterator_category<T>;

# Example

This section is incompleteReason: no example

# See also