Scroll to navigation

std::iterator_traits(3) Library Functions Manual std::iterator_traits(3)

NAME

std::iterator_traits -

SYNOPSIS

Public Types


typedef _Iterator::difference_type difference_type
typedef _Iterator::iterator_category iterator_category
typedef _Iterator::pointer pointer
typedef _Iterator::reference reference
typedef _Iterator::value_type value_type

Detailed Description

template<typename _Iterator> struct std::iterator_traits< _Iterator >

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 125 of file stl_iterator_base_types.h.

Author

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

19 Jun 2018 libstdc++