std::iterator_traits< _Iterator > Struct Template Reference

#include <stl_iterator_base_types.h>

List of all members.

Public Types

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


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


Member Typedef Documentation

template<typename _Iterator>
typedef _Iterator::difference_type std::iterator_traits< _Iterator >::difference_type
 

Definition at line 131 of file stl_iterator_base_types.h.

template<typename _Iterator>
typedef _Iterator::iterator_category std::iterator_traits< _Iterator >::iterator_category
 

Definition at line 129 of file stl_iterator_base_types.h.

Referenced by std::__iterator_category().

template<typename _Iterator>
typedef _Iterator::pointer std::iterator_traits< _Iterator >::pointer
 

Definition at line 132 of file stl_iterator_base_types.h.

template<typename _Iterator>
typedef _Iterator::reference std::iterator_traits< _Iterator >::reference
 

Definition at line 133 of file stl_iterator_base_types.h.

template<typename _Iterator>
typedef _Iterator::value_type std::iterator_traits< _Iterator >::value_type
 

Definition at line 130 of file stl_iterator_base_types.h.


The documentation for this struct was generated from the following file:
Generated on Tue Jan 30 17:32:15 2007 for GNU C++ STL by doxygen 1.3.6