STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions
stack File Reference
#include <deque>

Classes

class  stack< _Ty, _Container >
 
struct  std::uses_allocator< stack< _Ty, _Container >, _Alloc >
 

Macros

#define _STACK_
 

Functions

template<class _Ty , class _Container >
void swap (stack< _Ty, _Container > &_Left, stack< _Ty, _Container > &_Right) _NOEXCEPT_OP(_NOEXCEPT_OP(_Left.swap(_Right)))
 
template<class _Ty , class _Container >
bool operator== (const stack< _Ty, _Container > &_Left, const stack< _Ty, _Container > &_Right)
 
template<class _Ty , class _Container >
bool operator!= (const stack< _Ty, _Container > &_Left, const stack< _Ty, _Container > &_Right)
 
template<class _Ty , class _Container >
bool operator< (const stack< _Ty, _Container > &_Left, const stack< _Ty, _Container > &_Right)
 
template<class _Ty , class _Container >
bool operator> (const stack< _Ty, _Container > &_Left, const stack< _Ty, _Container > &_Right)
 
template<class _Ty , class _Container >
bool operator<= (const stack< _Ty, _Container > &_Left, const stack< _Ty, _Container > &_Right)
 
template<class _Ty , class _Container >
bool operator>= (const stack< _Ty, _Container > &_Left, const stack< _Ty, _Container > &_Right)
 

Macro Definition Documentation

#define _STACK_

Function Documentation

template<class _Ty , class _Container >
bool operator!= ( const stack< _Ty, _Container > &  _Left,
const stack< _Ty, _Container > &  _Right 
)
inline
185  { // test for stack inequality
186  return (!(_Left == _Right));
187  }
template<class _Ty , class _Container >
bool operator< ( const stack< _Ty, _Container > &  _Left,
const stack< _Ty, _Container > &  _Right 
)
inline
193  { // test if _Left < _Right for stacks
194  return (_Left._Get_container() < _Right._Get_container());
195  }
const _Container & _Get_container() const
Definition: stack:148
template<class _Ty , class _Container >
bool operator<= ( const stack< _Ty, _Container > &  _Left,
const stack< _Ty, _Container > &  _Right 
)
inline
209  { // test if _Left <= _Right for stacks
210  return (!(_Right < _Left));
211  }
template<class _Ty , class _Container >
bool operator== ( const stack< _Ty, _Container > &  _Left,
const stack< _Ty, _Container > &  _Right 
)
inline
177  { // test for stack equality
178  return (_Left._Get_container() == _Right._Get_container());
179  }
const _Container & _Get_container() const
Definition: stack:148
template<class _Ty , class _Container >
bool operator> ( const stack< _Ty, _Container > &  _Left,
const stack< _Ty, _Container > &  _Right 
)
inline
201  { // test if _Left > _Right for stacks
202  return (_Right < _Left);
203  }
template<class _Ty , class _Container >
bool operator>= ( const stack< _Ty, _Container > &  _Left,
const stack< _Ty, _Container > &  _Right 
)
inline
217  { // test if _Left >= _Right for stacks
218  return (!(_Left < _Right));
219  }
template<class _Ty , class _Container >
void swap ( stack< _Ty, _Container > &  _Left,
stack< _Ty, _Container > &  _Right 
)
inline
169  { // swap _Left and _Right stacks
170  _Left.swap(_Right);
171  }
void swap(_Myt &_Right) _NOEXCEPT_OP(_NOEXCEPT_OP(_Swap_adl(c