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

Classes

class  _List_unchecked_const_iterator< _Mylist, _Base >
 
class  _List_unchecked_iterator< _Mylist >
 
class  _List_const_iterator< _Mylist >
 
class  _List_iterator< _Mylist >
 
struct  _List_iter_types< _Value_type, _Size_type, _Difference_type, _Pointer, _Const_pointer, _Reference, _Const_reference, _Nodeptr_type >
 
struct  _List_node< _Value_type, _Voidptr >
 
struct  _List_node< _Value_type, void * >
 
struct  _List_simple_types< _Ty >
 
struct  _List_base_types< _Ty, _Alloc0 >
 
class  _List_val< _Val_types >
 
class  _List_alloc< _Alloc_types >
 
class  _List_buy< _Ty, _Alloc >
 
class  list< _Ty, _Alloc >
 

Macros

#define _LIST_
 

Functions

template<class _Mylist >
_List_const_iterator< _Mylist >::_Unchecked_type _Unchecked (_List_const_iterator< _Mylist > _Iter)
 
template<class _Mylist >
_List_const_iterator< _Mylist > & _Rechecked (_List_const_iterator< _Mylist > &_Iter, typename _List_const_iterator< _Mylist >::_Unchecked_type _Right)
 
template<class _Mylist >
_List_iterator< _Mylist >::_Unchecked_type _Unchecked (_List_iterator< _Mylist > _Iter)
 
template<class _Mylist >
_List_iterator< _Mylist > & _Rechecked (_List_iterator< _Mylist > &_Iter, typename _List_iterator< _Mylist >::_Unchecked_type _Right)
 
template<class _Ty , class _Alloc >
void swap (list< _Ty, _Alloc > &_Left, list< _Ty, _Alloc > &_Right) _NOEXCEPT_OP(_NOEXCEPT_OP(_Left.swap(_Right)))
 
template<class _Ty , class _Alloc >
bool operator== (const list< _Ty, _Alloc > &_Left, const list< _Ty, _Alloc > &_Right)
 
template<class _Ty , class _Alloc >
bool operator!= (const list< _Ty, _Alloc > &_Left, const list< _Ty, _Alloc > &_Right)
 
template<class _Ty , class _Alloc >
bool operator< (const list< _Ty, _Alloc > &_Left, const list< _Ty, _Alloc > &_Right)
 
template<class _Ty , class _Alloc >
bool operator> (const list< _Ty, _Alloc > &_Left, const list< _Ty, _Alloc > &_Right)
 
template<class _Ty , class _Alloc >
bool operator<= (const list< _Ty, _Alloc > &_Left, const list< _Ty, _Alloc > &_Right)
 
template<class _Ty , class _Alloc >
bool operator>= (const list< _Ty, _Alloc > &_Left, const list< _Ty, _Alloc > &_Right)
 

Macro Definition Documentation

#define _LIST_

Function Documentation

template<class _Mylist >
_List_const_iterator<_Mylist>& _Rechecked ( _List_const_iterator< _Mylist > &  _Iter,
typename _List_const_iterator< _Mylist >::_Unchecked_type  _Right 
)
inline
322  { // convert to checked
323  return (_Iter._Rechecked(_Right));
324  }
_Myiter & _Rechecked(_Unchecked_type _Right)
Definition: list:192
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Mylist >
_List_iterator<_Mylist>& _Rechecked ( _List_iterator< _Mylist > &  _Iter,
typename _List_iterator< _Mylist >::_Unchecked_type  _Right 
)
inline
413  { // convert to checked
414  return (_Iter._Rechecked(_Right));
415  }
_Myiter & _Rechecked(_Unchecked_type _Right)
Definition: list:353
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Mylist >
_List_const_iterator<_Mylist>::_Unchecked_type _Unchecked ( _List_const_iterator< _Mylist >  _Iter)
inline
313  { // convert to unchecked
314  return (_Iter._Unchecked());
315  }
_Unchecked_type _Unchecked() const
Definition: list:198
template<class _Mylist >
_List_iterator<_Mylist>::_Unchecked_type _Unchecked ( _List_iterator< _Mylist >  _Iter)
inline
404  { // convert to unchecked
405  return (_Iter._Unchecked());
406  }
_Unchecked_type _Unchecked() const
Definition: list:359
template<class _Ty , class _Alloc >
bool operator!= ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1956  { // test for list inequality
1957  return (!(_Left == _Right));
1958  }
template<class _Ty , class _Alloc >
bool operator< ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1964  { // test if _Left < _Right for lists
1965  return (_STD lexicographical_compare(_Left.begin(), _Left.end(),
1966  _Right.begin(), _Right.end()));
1967  }
iterator begin() _NOEXCEPT
Definition: list:1117
iterator end() _NOEXCEPT
Definition: list:1129
bool lexicographical_compare(_InIt1 _First1, _InIt1 _Last1, _InIt2 _First2, _InIt2 _Last2)
Definition: memory:830
template<class _Ty , class _Alloc >
bool operator<= ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1981  { // test if _Left <= _Right for lists
1982  return (!(_Right < _Left));
1983  }
template<class _Ty , class _Alloc >
bool operator== ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1947  { // test for list equality
1948  return (_Left.size() == _Right.size()
1949  && _STD equal(_Left.begin(), _Left.end(), _Right.begin()));
1950  }
iterator begin() _NOEXCEPT
Definition: list:1117
iterator end() _NOEXCEPT
Definition: list:1129
bool equal(_InIt1 _First1, _InIt1 _Last1, _InIt2 _First2)
Definition: memory:611
size_type size() const _NOEXCEPT
Definition: list:1240
template<class _Ty , class _Alloc >
bool operator> ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1973  { // test if _Left > _Right for lists
1974  return (_Right < _Left);
1975  }
template<class _Ty , class _Alloc >
bool operator>= ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1989  { // test if _Left >= _Right for lists
1990  return (!(_Left < _Right));
1991  }
template<class _Ty , class _Alloc >
void swap ( list< _Ty, _Alloc > &  _Left,
list< _Ty, _Alloc > &  _Right 
)
inline
1939  { // swap _Left and _Right lists
1940  _Left.swap(_Right);
1941  }
void swap(_Myt &_Right) _NOEXCEPT_OP(_Alty
Definition: list:1517