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

Classes

class  _Flist_unchecked_const_iterator< _Mylist, _Base >
 
class  _Flist_unchecked_iterator< _Mylist >
 
class  _Flist_const_iterator< _Mylist >
 
class  _Flist_iterator< _Mylist >
 
struct  _Flist_iter_types< _Value_type, _Size_type, _Difference_type, _Pointer, _Const_pointer, _Reference, _Const_reference, _Nodeptr_type >
 
struct  _Flist_node< _Value_type, _Voidptr >
 
struct  _Flist_node< _Value_type, void * >
 
struct  _Flist_simple_types< _Ty >
 
struct  _Flist_base_types< _Ty, _Alloc0 >
 
class  _Flist_val< _Val_types >
 
class  _Flist_alloc< _Alloc_types >
 
class  _Flist_buy< _Ty, _Alloc >
 
class  forward_list< _Ty, _Alloc >
 

Macros

#define _FORWARD_LIST_
 

Functions

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

Macro Definition Documentation

#define _FORWARD_LIST_

Function Documentation

template<class _Mylist >
_Flist_const_iterator<_Mylist>& _Rechecked ( _Flist_const_iterator< _Mylist > &  _Iter,
typename _Flist_const_iterator< _Mylist >::_Unchecked_type  _Right 
)
inline
254  { // convert to checked
255  return (_Iter._Rechecked(_Right));
256  }
_Myiter & _Rechecked(_Unchecked_type _Right)
Definition: forward_list:166
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<class _Mylist >
_Flist_iterator<_Mylist>& _Rechecked ( _Flist_iterator< _Mylist > &  _Iter,
typename _Flist_iterator< _Mylist >::_Unchecked_type  _Right 
)
inline
332  { // convert to checked
333  return (_Iter._Rechecked(_Right));
334  }
_Myiter & _Rechecked(_Unchecked_type _Right)
Definition: forward_list:285
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<class _Mylist >
_Flist_const_iterator<_Mylist>::_Unchecked_type _Unchecked ( _Flist_const_iterator< _Mylist >  _Iter)
inline
245  { // convert to unchecked
246  return (_Iter._Unchecked());
247  }
_Unchecked_type _Unchecked() const
Definition: forward_list:172
template<class _Mylist >
_Flist_iterator<_Mylist>::_Unchecked_type _Unchecked ( _Flist_iterator< _Mylist >  _Iter)
inline
323  { // convert to unchecked
324  return (_Iter._Unchecked());
325  }
_Unchecked_type _Unchecked() const
Definition: forward_list:291
template<class _Ty , class _Alloc >
bool operator!= ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1639  { // test for list inequality
1640  return (!(_Left == _Right));
1641  }
template<class _Ty , class _Alloc >
bool operator< ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1647  { // test if _Left < _Right for lists
1648  return (_STD lexicographical_compare(_Left.begin(), _Left.end(),
1649  _Right.begin(), _Right.end()));
1650  }
iterator begin() _NOEXCEPT
Definition: forward_list:996
iterator end() _NOEXCEPT
Definition: forward_list:1006
bool lexicographical_compare(_InIt1 _First1, _InIt1 _Last1, _InIt2 _First2, _InIt2 _Last2)
Definition: memory:830
template<class _Ty , class _Alloc >
bool operator<= ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1664  { // test if _Left <= _Right for lists
1665  return (!(_Right < _Left));
1666  }
template<class _Ty , class _Alloc >
bool operator== ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1630  { // test for list equality
1631  return (_STD equal(_Left.begin(), _Left.end(),
1632  _Right.begin(), _Right.end()));
1633  }
iterator begin() _NOEXCEPT
Definition: forward_list:996
iterator end() _NOEXCEPT
Definition: forward_list:1006
bool equal(_InIt1 _First1, _InIt1 _Last1, _InIt2 _First2)
Definition: memory:611
template<class _Ty , class _Alloc >
bool operator> ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1656  { // test if _Left > _Right for lists
1657  return (_Right < _Left);
1658  }
template<class _Ty , class _Alloc >
bool operator>= ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1672  { // test if _Left >= _Right for lists
1673  return (!(_Left < _Right));
1674  }
template<class _Ty , class _Alloc >
void swap ( forward_list< _Ty, _Alloc > &  _Left,
forward_list< _Ty, _Alloc > &  _Right 
)
inline
1622  { // swap _Left and _Right lists
1623  _Left.swap(_Right);
1624  }
void swap(_Myt &_Right) _NOEXCEPT_OP(_Alty
Definition: forward_list:1259