Share via


move_iterator::iterator_category

The type iterator_category is a move_iteratortypedef based on the iterator trait iterator_category, and can be used interchangeably with it.

typedef typename iterator_traits<RandomIterator>::iterator_category
    iterator_category;

Remarks

The type is a synonym for the iterator trait typename iterator_traits<RandomIterator>::iterator_category.

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

move_iterator Class

<iterator>

Standard Template Library

Other Resources

move_iterator Members

<iterator> Members