std::iterator_traits(3cxx)

std::iterator_traits3cxx

Traits class for iterators.

Usage

Inherits std::__iterator_traits< _Iterator, typename >.

Detailed Description

template<typename _Iterator>

struct std::iterator_traits< _Iterator >"Traits class for iterators.

This class does nothing but define nested typedefs. The general version simply forwards the nested typedefs from the Iterator argument. Specialized versions for pointers and pointers-to-const provide tighter, more correct semantics.

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 11
  4. 12
  5. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.