indirect_reverse_iterator Class Template Reference
[Iterators Library]

#include <stlsoft/iterators/indirect_reverse_iterator.hpp>

List of all members.

Detailed Description

template<typename I, typename T = typename std:: iterator_traits <I>::value_type, typename R = T&, typename P = T*, typename D = ss_ptrdiff_t, typename C = typename std:: iterator_traits <I>::iterator_category>
class stlsoft::indirect_reverse_iterator< I, T, R, P, D, C >

This class template provides the same services as std::reverse_iterator, but uses pointers in order to facilitate reverse adaptation of incompletely defined types, such as forward-declared member classes.

I The iterator to be adapted for reverse iteration
T The value type
R The reference type
P The pointer type
D The distance type


indirect_reverse_iterator< I,
T, R, P, D, C > 
typedef I iterator_type
typedef T value_type
typedef R reference
typedef P pointer
typedef D difference_type
typedef C iterator_category

Public Member Functions

 indirect_reverse_iterator ()
 indirect_reverse_iterator (I it)
 indirect_reverse_iterator (class_type const &rhs)
Iterator Operations
iterator_type base () const
 A copy of the base iterator.
reference operator* () const
pointer operator-> () const
class_typeoperator++ ()
class_type operator++ (int)
class_typeoperator-- ()
class_type operator-- (int)
reference operator[] (difference_type index) const
class_typeoperator+= (difference_type index)
class_type operator+ (difference_type index) const
class_typeoperator-= (difference_type index)
class_type operator- (difference_type index) const
difference_type operator- (class_type const &rhs) const
bool equal (class_type const &rhs) const
int compare (class_type const &rhs) const

Member Function Documentation

iterator_type base (  )  const [inline]

A copy of the base iterator.

References auto_destructor::get().

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

Generated on Thu Jun 10 08:58:48 2010 for STLSoft by  doxygen 1.5.6