std_iterator_traits.3cxx

Langue: en

Version: 360492 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

std::iterator_traits -

Traits class for iterators.

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 >

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

Author

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