Scroll to navigation

std::iterator_traits< _Iterator >(3) Library Functions Manual std::iterator_traits< _Iterator >(3)

NAME

std::iterator_traits< _Iterator > - Traits class for iterators.

SYNOPSIS

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.

Author

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

Mon Dec 18 2023 libstdc++