__gnu_debug::_After_nth_from< _Iterator > Class Template Reference

#include <safe_sequence.h>

List of all members.

Public Member Functions

 _After_nth_from (const difference_type &__n, const _Iterator &__base)
bool operator() (const _Iterator &__x) const

Private Types

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

Private Attributes

_Iterator _M_base
difference_type _M_n


Detailed Description

template<typename _Iterator>
class __gnu_debug::_After_nth_from< _Iterator >

A function object that returns true when the given random access iterator is at least n steps away from the given iterator.

Definition at line 64 of file safe_sequence.h.


Member Typedef Documentation

template<typename _Iterator>
typedef std::iterator_traits<_Iterator>::difference_type __gnu_debug::_After_nth_from< _Iterator >::difference_type [private]

Definition at line 67 of file safe_sequence.h.


Constructor & Destructor Documentation

template<typename _Iterator>
__gnu_debug::_After_nth_from< _Iterator >::_After_nth_from ( const difference_type __n,
const _Iterator &  __base 
) [inline]

Definition at line 73 of file safe_sequence.h.


Member Function Documentation

template<typename _Iterator>
bool __gnu_debug::_After_nth_from< _Iterator >::operator() ( const _Iterator &  __x  )  const [inline]

Definition at line 77 of file safe_sequence.h.

References __gnu_debug::_After_nth_from< _Iterator >::_M_base, and __gnu_debug::_After_nth_from< _Iterator >::_M_n.


Member Data Documentation

template<typename _Iterator>
_Iterator __gnu_debug::_After_nth_from< _Iterator >::_M_base [private]

Definition at line 69 of file safe_sequence.h.

Referenced by __gnu_debug::_After_nth_from< _Iterator >::operator()().

template<typename _Iterator>
difference_type __gnu_debug::_After_nth_from< _Iterator >::_M_n [private]

Definition at line 70 of file safe_sequence.h.

Referenced by __gnu_debug::_After_nth_from< _Iterator >::operator()().


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:58:15 2010 for GNU C++ STL by  doxygen 1.4.7