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< _Al_has_storage, _Alloc_types >
 
class  _List_alloc< false, _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)
 
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
319  { // convert to checked
320  return (_Iter._Rechecked(_Right));
321  }
_Myiter & _Rechecked(_Unchecked_type _Right)
Definition: list:192
const _Ty & _Right
Definition: algorithm:4087
template<class _Mylist >
_List_iterator<_Mylist>& _Rechecked ( _List_iterator< _Mylist > &  _Iter,
typename _List_iterator< _Mylist >::_Unchecked_type  _Right 
)
inline
410  { // convert to checked
411  return (_Iter._Rechecked(_Right));
412  }
_Myiter & _Rechecked(_Unchecked_type _Right)
Definition: list:350
const _Ty & _Right
Definition: algorithm:4087
template<class _Mylist >
_List_const_iterator<_Mylist>::_Unchecked_type _Unchecked ( _List_const_iterator< _Mylist >  _Iter)
inline
310  { // convert to unchecked
311  return (_Iter._Unchecked());
312  }
_Unchecked_type _Unchecked() const
Definition: list:198
template<class _Mylist >
_List_iterator<_Mylist>::_Unchecked_type _Unchecked ( _List_iterator< _Mylist >  _Iter)
inline
401  { // convert to unchecked
402  return (_Iter._Unchecked());
403  }
_Unchecked_type _Unchecked() const
Definition: list:356
template<class _Ty , class _Alloc >
bool operator!= ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1952  { // test for list inequality
1953  return (!(_Left == _Right));
1954  }
template<class _Ty , class _Alloc >
bool operator< ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1960  { // test if _Left < _Right for lists
1961  return (lexicographical_compare(_Left.begin(), _Left.end(),
1962  _Right.begin(), _Right.end()));
1963  }
iterator begin() _NOEXCEPT
Definition: list:1114
iterator end() _NOEXCEPT
Definition: list:1124
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
1977  { // test if _Left <= _Right for lists
1978  return (!(_Right < _Left));
1979  }
template<class _Ty , class _Alloc >
bool operator== ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1943  { // test for list equality
1944  return (_Left.size() == _Right.size()
1945  && equal(_Left.begin(), _Left.end(), _Right.begin()));
1946  }
iterator begin() _NOEXCEPT
Definition: list:1114
iterator end() _NOEXCEPT
Definition: list:1124
bool equal(_InIt1 _First1, _InIt1 _Last1, _InIt2 _First2)
Definition: memory:611
size_type size() const _NOEXCEPT
Definition: list:1234
template<class _Ty , class _Alloc >
bool operator> ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1969  { // test if _Left > _Right for lists
1970  return (_Right < _Left);
1971  }
template<class _Ty , class _Alloc >
bool operator>= ( const list< _Ty, _Alloc > &  _Left,
const list< _Ty, _Alloc > &  _Right 
)
inline
1985  { // test if _Left >= _Right for lists
1986  return (!(_Left < _Right));
1987  }
template<class _Ty , class _Alloc >
void swap ( list< _Ty, _Alloc > &  _Left,
list< _Ty, _Alloc > &  _Right 
)
inline
1935  { // swap _Left and _Right lists
1936  _Left.swap(_Right);
1937  }
void swap(_Myt &_Right)
Definition: list:1508