ReactOS 0.4.16-dev-91-g764881a
_iterator_old.h File Reference
Include dependency graph for _iterator_old.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >
 
class  reverse_iterator< _RandomAccessIterator, _Tp,, >
 

Macros

#define __Reference   _Reference
 
#define Reference__   _Reference
 

Functions

template<class _BidirectionalIterator , class _Tp , class __Reference , class _Distance >
bool _STLP_CALL operator== (const reverse_bidirectional_iterator< _BidirectionalIterator, _Tp, Reference__, _Distance > &__x, const reverse_bidirectional_iterator< _BidirectionalIterator, _Tp, Reference__, _Distance > &__y)
 
template<class _RandomAccessIterator , class _Tp , class __Reference , class _Distance >
bool _STLP_CALL operator== (const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &__x, const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &__y)
 
template<class _RandomAccessIterator , class _Tp , class __Reference , class _Distance >
bool _STLP_CALL operator< (const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &__x, const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &__y)
 
template<class _RandomAccessIterator , class _Tp , class __Reference , class _Distance >
_Distance _STLP_CALL operator- (const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &__x, const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &__y)
 
template<class _RandomAccessIterator , class _Tp , class __Reference , class _Distance >
reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > _STLP_CALL operator+ (_Distance __n, const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &__x)
 

Macro Definition Documentation

◆ __Reference

#define __Reference   _Reference

◆ Reference__

#define Reference__   _Reference

Function Documentation

◆ operator+()

template<class _RandomAccessIterator , class _Tp , class __Reference , class _Distance >
reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > _STLP_CALL operator+ ( _Distance  __n,
const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &  __x 
)
inline

Definition at line 318 of file _iterator_old.h.

321{
322 return reverse_iterator<_RandomAccessIterator, _Tp,
323 Reference__, _Distance>(__x.base() - __n);
324}
return __n
Definition: _algo.h:75
#define Reference__
_RandomAccessIterator base() const

◆ operator-()

template<class _RandomAccessIterator , class _Tp , class __Reference , class _Distance >
_Distance _STLP_CALL operator- ( const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &  __x,
const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &  __y 
)
inline

Definition at line 306 of file _iterator_old.h.

310{
311 return __y.base() - __x.base();
312}

◆ operator<()

template<class _RandomAccessIterator , class _Tp , class __Reference , class _Distance >
bool _STLP_CALL operator< ( const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &  __x,
const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &  __y 
)
inline

Definition at line 250 of file _iterator_old.h.

255{
256 return __y.base() < __x.base();
257}

◆ operator==() [1/2]

template<class _BidirectionalIterator , class _Tp , class __Reference , class _Distance >
bool _STLP_CALL operator== ( const reverse_bidirectional_iterator< _BidirectionalIterator, _Tp, Reference__, _Distance > &  __x,
const reverse_bidirectional_iterator< _BidirectionalIterator, _Tp, Reference__, _Distance > &  __y 
)
inline

Definition at line 132 of file _iterator_old.h.

137{ return __x.base() == __y.base(); }
_BidirectionalIterator base() const
Definition: _iterator_old.h:84

◆ operator==() [2/2]

template<class _RandomAccessIterator , class _Tp , class __Reference , class _Distance >
bool _STLP_CALL operator== ( const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &  __x,
const reverse_iterator< _RandomAccessIterator, _Tp, Reference__, _Distance > &  __y 
)
inline

Definition at line 240 of file _iterator_old.h.

244{
245 return __x.base() == __y.base();
246}