std::iterator_traits - Man Page

Traits class for iterators.


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.

Definition at line 177 of file stl_iterator_base_types.h.


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


Thu Jan 19 2023 libstdc++