ReactOS  0.4.15-dev-1033-gd7d716a
_deque.h File Reference
#include <stl/_algobase.h>
#include <stl/_alloc.h>
#include <stl/_iterator.h>
#include <stl/_uninitialized.h>
#include <stl/_range_errors.h>
#include <stl/_deque.c>
#include <stl/_relops_cont.h>
Include dependency graph for _deque.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _Deque_iterator_base< _Tp >
 
struct  _Deque_iterator< _Tp, _Traits >
 
class  _Deque_base< _Tp, _Alloc >
 
class  deque< _Tp, >
 

Macros

#define _STLP_TEMPLATE_CONTAINER   deque<_Tp, _Alloc>
 
#define _STLP_TEMPLATE_HEADER   template <class _Tp, class _Alloc>
 

Functions

template<class _Tp , class _Traits >
_Deque_iterator< _Tp, _Traits > _STLP_CALL operator+ (ptrdiff_t __n, const _Deque_iterator< _Tp, _Traits > &__x)
 
template<class _Tp , class _Traits1 , class _Traits2 >
bool _STLP_CALL operator== (const _Deque_iterator< _Tp, _Traits1 > &__x, const _Deque_iterator< _Tp, _Traits2 > &__y)
 
template<class _Tp , class _Traits1 , class _Traits2 >
bool _STLP_CALL operator< (const _Deque_iterator< _Tp, _Traits1 > &__x, const _Deque_iterator< _Tp, _Traits2 > &__y)
 
template<class _Tp >
bool _STLP_CALL operator!= (const _Deque_iterator< _Tp, _Nonconst_traits< _Tp > > &__x, const _Deque_iterator< _Tp, _Const_traits< _Tp > > &__y)
 
template<class _Tp >
bool _STLP_CALL operator> (const _Deque_iterator< _Tp, _Nonconst_traits< _Tp > > &__x, const _Deque_iterator< _Tp, _Const_traits< _Tp > > &__y)
 
template<class _Tp >
bool _STLP_CALL operator>= (const _Deque_iterator< _Tp, _Nonconst_traits< _Tp > > &__x, const _Deque_iterator< _Tp, _Const_traits< _Tp > > &__y)
 
template<class _Tp >
bool _STLP_CALL operator<= (const _Deque_iterator< _Tp, _Nonconst_traits< _Tp > > &__x, const _Deque_iterator< _Tp, _Const_traits< _Tp > > &__y)
 

Macro Definition Documentation

◆ _STLP_TEMPLATE_CONTAINER

#define _STLP_TEMPLATE_CONTAINER   deque<_Tp, _Alloc>

Definition at line 1094 of file _deque.h.

◆ _STLP_TEMPLATE_HEADER

#define _STLP_TEMPLATE_HEADER   template <class _Tp, class _Alloc>

Definition at line 1095 of file _deque.h.

Function Documentation

◆ operator!=()

template<class _Tp >
bool _STLP_CALL operator!= ( const _Deque_iterator< _Tp, _Nonconst_traits< _Tp > > &  __x,
const _Deque_iterator< _Tp, _Const_traits< _Tp > > &  __y 
)
inline

Definition at line 285 of file _deque.h.

287 { return __x._M_cur != __y._M_cur; }
value_type * _M_cur
Definition: _deque.h:101

◆ operator+()

template<class _Tp , class _Traits >
_Deque_iterator<_Tp, _Traits> _STLP_CALL operator+ ( ptrdiff_t  __n,
const _Deque_iterator< _Tp, _Traits > &  __x 
)
inline

Definition at line 226 of file _deque.h.

227 { return __x + __n; }
return __n
Definition: _algo.h:75

◆ operator<()

template<class _Tp , class _Traits1 , class _Traits2 >
bool _STLP_CALL operator< ( const _Deque_iterator< _Tp, _Traits1 > &  __x,
const _Deque_iterator< _Tp, _Traits2 > &  __y 
)
inline

Definition at line 277 of file _deque.h.

278  {
279  return (__x._M_node == __y._M_node) ?
280  (__x._M_cur < __y._M_cur) : (__x._M_node < __y._M_node);
281 }
_Map_pointer _M_node
Definition: _deque.h:104
value_type * _M_cur
Definition: _deque.h:101

◆ operator<=()

template<class _Tp >
bool _STLP_CALL operator<= ( const _Deque_iterator< _Tp, _Nonconst_traits< _Tp > > &  __x,
const _Deque_iterator< _Tp, _Const_traits< _Tp > > &  __y 
)
inline

Definition at line 303 of file _deque.h.

305 { return !(__y < __x); }

◆ operator==()

template<class _Tp , class _Traits1 , class _Traits2 >
bool _STLP_CALL operator== ( const _Deque_iterator< _Tp, _Traits1 > &  __x,
const _Deque_iterator< _Tp, _Traits2 > &  __y 
)
inline

Definition at line 271 of file _deque.h.

273 { return __x._M_cur == __y._M_cur; }
value_type * _M_cur
Definition: _deque.h:101

◆ operator>()

template<class _Tp >
bool _STLP_CALL operator> ( const _Deque_iterator< _Tp, _Nonconst_traits< _Tp > > &  __x,
const _Deque_iterator< _Tp, _Const_traits< _Tp > > &  __y 
)
inline

Definition at line 291 of file _deque.h.

293 { return __y < __x; }

◆ operator>=()

template<class _Tp >
bool _STLP_CALL operator>= ( const _Deque_iterator< _Tp, _Nonconst_traits< _Tp > > &  __x,
const _Deque_iterator< _Tp, _Const_traits< _Tp > > &  __y 
)
inline

Definition at line 297 of file _deque.h.

299 { return !(__x < __y); }