GNU g++  v5.2.1
GNU Standard C++
__gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory > Class Template Reference

A pair of iterators. More...

#include <iterator.h>

Inheritance diagram for __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >:
Collaboration diagram for __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >:

Public Types

typedef std::iterator_traits< _Iterator1 > _TraitsType
 
typedef _TraitsType::difference_type difference_type
 
typedef _IteratorCategory iterator_category
 
typedef _IteratorPairpointer
 
typedef _IteratorPairreference
 
typedef void value_type
 

Public Member Functions

 _IteratorPair ()
 
 _IteratorPair (const _Iterator1 &__first, const _Iterator2 &__second)
 
 operator _Iterator2 () const
 
_IteratorPair operator+ (difference_type __delta) const
 
_IteratorPairoperator++ ()
 
const _IteratorPair operator++ (int)
 
difference_type operator- (const _IteratorPair &__other) const
 
_IteratorPairoperator-- ()
 
const _IteratorPair operator-- (int)
 
_IteratorPairoperator= (const _IteratorPair &__other)
 

Private Types

typedef std::pair< _Iterator1, _Iterator2 > _Base
 

Detailed Description

template<typename _Iterator1, typename _Iterator2, typename _IteratorCategory>
class __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >

A pair of iterators.

The usual iterator operations are applied to both child iterators.

Member Typedef Documentation

template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
typedef std::pair<_Iterator1, _Iterator2> __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::_Base
private
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
typedef std::iterator_traits<_Iterator1> __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::_TraitsType
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
typedef _TraitsType::difference_type __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::difference_type
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
typedef _IteratorCategory __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::iterator_category
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
typedef _IteratorPair* __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::pointer
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
typedef _IteratorPair& __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::reference
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
typedef void __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::value_type

Constructor & Destructor Documentation

template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
__gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::_IteratorPair ( )
inline
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
__gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::_IteratorPair ( const _Iterator1 &  __first,
const _Iterator2 &  __second 
)
inline

Member Function Documentation

template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
__gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::operator _Iterator2 ( ) const
inline
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
_IteratorPair __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::operator+ ( difference_type  __delta) const
inline
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
_IteratorPair& __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::operator++ ( )
inline
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
const _IteratorPair __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::operator++ ( int  )
inline
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
difference_type __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::operator- ( const _IteratorPair< _Iterator1, _Iterator2, _IteratorCategory > &  __other) const
inline
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
_IteratorPair& __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::operator-- ( )
inline
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
const _IteratorPair __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::operator-- ( int  )
inline
template<typename _Iterator1 , typename _Iterator2 , typename _IteratorCategory >
_IteratorPair& __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::operator= ( const _IteratorPair< _Iterator1, _Iterator2, _IteratorCategory > &  __other)
inline

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