reverse_iterator Class Reference

class reverse_iterator : public iterator< iterator_traits< _Iterator >::iterator_category, iterator_traits< _Iterator >::value_type, iterator_traits< _Iterator >::difference_type, iterator_traits< _Iterator >::pointer, iterator_traits< _Iterator >::reference >
Public Member Functions
reverse_iterator()
reverse_iterator(iterator_type)
reverse_iterator(const _Self &)
reverse_iterator(const reverse_iterator< _Iter > &)
iterator_type base()
reference operator*()
_Self operator+(difference_type)
_STLP_DEFINE_ARROW_OPERATOR _Self &operator++()
_Self operator++(int)
_Self &operator+=(difference_type)
_Self operator-(difference_type)
_Self &operator--()
_Self operator--(int)
_Self &operator-=(difference_type)
_Self &operator=(const _Self &)
_Self &operator=(const reverse_iterator< _Iter > &)
reference operator[](difference_type)
Public Member Type Definitions
typedef iterator_traits< _Iterator >::difference_type difference_type
typedef iterator_traits< _Iterator >::iterator_category iterator_category
typedef_Iterator iterator_type
typedef iterator_traits< _Iterator >::pointer pointer
typedef iterator_traits< _Iterator >::reference reference
typedef iterator_traits< _Iterator >::value_type value_type
Protected Member Type Definitions
typedef reverse_iterator< _Iterator > _Self
Protected Attributes
_Iteratorcurrent

Constructor & Destructor Documentation

reverse_iterator()

reverse_iterator()[inline]

reverse_iterator(iterator_type)

reverse_iterator(iterator_type__x)[inline, explicit]

Parameters

iterator_type __x

reverse_iterator(const _Self &)

reverse_iterator(const _Self &__x)[inline]

Parameters

const _Self & __x

reverse_iterator(const reverse_iterator< _Iter > &)

reverse_iterator(const reverse_iterator< _Iter > &__x)[inline]

Parameters

const reverse_iterator< _Iter > & __x

Member Functions Documentation

base()

iterator_type base()const [inline]

operator*()

reference operator*()const [inline]

operator+(difference_type)

_Self operator+(difference_type__n)const [inline]

Parameters

difference_type __n

operator++()

_STLP_DEFINE_ARROW_OPERATOR _Self &operator++()[inline]

operator++(int)

_Self operator++(int)[inline]

Parameters

int

operator+=(difference_type)

_Self &operator+=(difference_type__n)[inline]

Parameters

difference_type __n

operator-(difference_type)

_Self operator-(difference_type__n)const [inline]

Parameters

difference_type __n

operator--()

_Self &operator--()[inline]

operator--(int)

_Self operator--(int)[inline]

Parameters

int

operator-=(difference_type)

_Self &operator-=(difference_type__n)[inline]

Parameters

difference_type __n

operator=(const _Self &)

_Self &operator=(const _Self &__x)[inline]

Parameters

const _Self & __x

operator=(const reverse_iterator< _Iter > &)

_Self &operator=(const reverse_iterator< _Iter > &__x)[inline]

Parameters

const reverse_iterator< _Iter > & __x

operator[](difference_type)

reference operator[](difference_type__n)const [inline]

Parameters

difference_type __n

Member Type Definitions Documentation

Typedef _Self

typedef reverse_iterator< _Iterator >_Self[protected]

Typedef difference_type

typedef iterator_traits< _Iterator >::difference_typedifference_type

Typedef iterator_category

typedef iterator_traits< _Iterator >::iterator_categoryiterator_category

Typedef iterator_type

typedef _Iteratoriterator_type

Typedef pointer

typedef iterator_traits< _Iterator >::pointerpointer

Typedef reference

typedef iterator_traits< _Iterator >::referencereference

Typedef value_type

typedef iterator_traits< _Iterator >::value_typevalue_type

Member Data Documentation

_Iterator current

_Iteratorcurrent[protected]