iterator.h File Reference

#include "backward_warning.h"
#include "function.h"
#include <stddef.h>
#include "iostream.h"
#include <iterator>
#include <bits/stl_construct.h>
#include <bits/stl_raw_storage_iter.h>
#include <ext/iterator>

Go to the source code of this file.

Classes

struct  input_iterator< _Tp, _Distance >
struct  output_iterator
struct  forward_iterator< _Tp, _Distance >
struct  bidirectional_iterator< _Tp, _Distance >
struct  random_access_iterator< _Tp, _Distance >

Defines

#define _BACKWARD_ITERATOR_H   1

Functions

template<class _Iter>
iterator_traits< _Iter
>::iterator_category 
iterator_category (const _Iter &__i)
template<class _Iter>
iterator_traits< _Iter
>::difference_type * 
distance_type (const _Iter &)
template<class _Iter>
iterator_traits< _Iter
>::value_type * 
value_type (const _Iter &__i)
template<class _T1, class _T2>
void construct (_T1 *__p, const _T2 &__value)
template<class _T1>
void construct (_T1 *__p)
template<class _Tp>
void destroy (_Tp *__pointer)
template<class _ForwardIterator>
void destroy (_ForwardIterator __first, _ForwardIterator __last)


Define Documentation

#define _BACKWARD_ITERATOR_H   1

Definition at line 57 of file iterator.h.


Function Documentation

template<class _T1>
void construct ( _T1 *  __p  )  [inline]

Definition at line 170 of file iterator.h.

References std::_Construct().

template<class _T1, class _T2>
void construct ( _T1 *  __p,
const _T2 &  __value 
) [inline]

Definition at line 165 of file iterator.h.

References std::_Construct().

template<class _ForwardIterator>
void destroy ( _ForwardIterator  __first,
_ForwardIterator  __last 
) [inline]

Definition at line 180 of file iterator.h.

References std::_Destroy().

template<class _Tp>
void destroy ( _Tp *  __pointer  )  [inline]

Definition at line 175 of file iterator.h.

References std::_Destroy().

template<class _Iter>
iterator_traits<_Iter>::difference_type* distance_type ( const _Iter &   )  [inline]

Definition at line 138 of file iterator.h.

template<class _Iter>
iterator_traits<_Iter>::iterator_category iterator_category ( const _Iter &  __i  )  [inline]

Definition at line 133 of file iterator.h.

References std::__iterator_category().

Referenced by std::__iterator_category(), _GLIBCXX_STD::vector< _Tp, _Allocator >::_M_assign_dispatch(), _GLIBCXX_STD::deque< _Tp, _Allocator >::_M_assign_dispatch(), _GLIBCXX_STD::vector< _Tp, _Allocator >::_M_initialize_dispatch(), _GLIBCXX_STD::deque< _Tp, _Allocator >::_M_initialize_dispatch(), _GLIBCXX_STD::vector< _Tp, _Allocator >::_M_insert_dispatch(), and _GLIBCXX_STD::deque< _Tp, _Allocator >::_M_insert_dispatch().

template<class _Iter>
iterator_traits<_Iter>::value_type* value_type ( const _Iter &  __i  )  [inline]

Definition at line 143 of file iterator.h.

Referenced by __gnu_cxx::_PairAssociativeContainerConcept< _SimpleAssociativeContainer >::__constraints(), __gnu_cxx::_SimpleAssociativeContainerConcept< _SimpleAssociativeContainer >::__constraints(), std::__valarray_max(), std::__valarray_min(), std::_Temporary_buffer< _ForwardIterator, _Tp >::_Temporary_buffer(), it_value_type_traits_< Base_Key_, Key_, null_data_type, Value_, Allocator_ >::make_valid(), and it_value_type_traits_< Base_Key_, Key_, Data_, Value_, Allocator_ >::make_valid().


Generated on Tue Feb 2 16:57:21 2010 for GNU C++ STL by  doxygen 1.4.7