GNU g++  v5.2.1
GNU Standard C++
__gnu_debug::_After_nth_from< _Iterator > Class Template Reference

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

#include <safe_sequence.h>

Collaboration diagram for __gnu_debug::_After_nth_from< _Iterator >:

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.

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<typename _Iterator >
_Iterator __gnu_debug::_After_nth_from< _Iterator >::_M_base
private
template<typename _Iterator >
difference_type __gnu_debug::_After_nth_from< _Iterator >::_M_n
private

The documentation for this class was generated from the following file: