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
257  { // convert to checked
258  return (_Iter._Rechecked(_Right));
259  }
_Myiter & _Rechecked(_Unchecked_type _Right)
Definition: forward_list:166
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Mylist >
_Flist_iterator<_Mylist>& _Rechecked ( _Flist_iterator< _Mylist > &  _Iter,
typename _Flist_iterator< _Mylist >::_Unchecked_type  _Right 
)
inline
335  { // convert to checked
336  return (_Iter._Rechecked(_Right));
337  }
_Myiter & _Rechecked(_Unchecked_type _Right)
Definition: forward_list:288
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Mylist >
_Flist_const_iterator<_Mylist>::_Unchecked_type _Unchecked ( _Flist_const_iterator< _Mylist >  _Iter)
inline
248  { // convert to unchecked
249  return (_Iter._Unchecked());
250  }
_Unchecked_type _Unchecked() const
Definition: forward_list:172
template<class _Mylist >
_Flist_iterator<_Mylist>::_Unchecked_type _Unchecked ( _Flist_iterator< _Mylist >  _Iter)
inline
326  { // convert to unchecked
327  return (_Iter._Unchecked());
328  }
_Unchecked_type _Unchecked() const
Definition: forward_list:294
template<class _Ty , class _Alloc >
bool operator!= ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1588  { // test for list inequality
1589  return (!(_Left == _Right));
1590  }
template<class _Ty , class _Alloc >
bool operator< ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1596  { // test if _Left < _Right for lists
1597  return (_STD lexicographical_compare(_Left.begin(), _Left.end(),
1598  _Right.begin(), _Right.end()));
1599  }
iterator begin() _NOEXCEPT
Definition: forward_list:972
iterator end() _NOEXCEPT
Definition: forward_list:982
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
1613  { // test if _Left <= _Right for lists
1614  return (!(_Right < _Left));
1615  }
template<class _Ty , class _Alloc >
bool operator== ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1579  { // test for list equality
1580  return (_STD equal(_Left.begin(), _Left.end(),
1581  _Right.begin(), _Right.end()));
1582  }
iterator begin() _NOEXCEPT
Definition: forward_list:972
iterator end() _NOEXCEPT
Definition: forward_list:982
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
1605  { // test if _Left > _Right for lists
1606  return (_Right < _Left);
1607  }
template<class _Ty , class _Alloc >
bool operator>= ( const forward_list< _Ty, _Alloc > &  _Left,
const forward_list< _Ty, _Alloc > &  _Right 
)
inline
1621  { // test if _Left >= _Right for lists
1622  return (!(_Left < _Right));
1623  }
template<class _Ty , class _Alloc >
void swap ( forward_list< _Ty, _Alloc > &  _Left,
forward_list< _Ty, _Alloc > &  _Right 
)
inline
1571  { // swap _Left and _Right lists
1572  _Left.swap(_Right);
1573  }
void swap(_Myt &_Right) _NOEXCEPT_OP(_Alty
Definition: forward_list:1224