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 >

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_type difference_type

Typedef iterator_category

typedef iterator_traits < _Iterator >:: iterator_category iterator_category

Typedef iterator_type

typedef _Iterator iterator_type

Typedef pointer

typedef iterator_traits < _Iterator >:: pointer pointer

Typedef reference

typedef iterator_traits < _Iterator >:: reference reference

Typedef value_type

typedef iterator_traits < _Iterator >:: value_type value_type

Member Data Documentation

_Iterator current

_Iterator current [protected]