STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
_Flist_unchecked_const_iterator< _Mylist, _Base > Class Template Reference
Inheritance diagram for _Flist_unchecked_const_iterator< _Mylist, _Base >:
_Iterator012< forward_iterator_tag, _Mylist::value_type, _Mylist::difference_type, _Mylist::const_pointer, _Mylist::const_reference, _Base >

Public Types

typedef _Flist_unchecked_const_iterator< _Mylist, _Base > _Myiter
 
typedef forward_iterator_tag iterator_category
 
typedef _Mylist::_Nodeptr _Nodeptr
 
typedef _Mylist::value_type value_type
 
typedef _Mylist::difference_type difference_type
 
typedef _Mylist::const_pointer pointer
 
typedef _Mylist::const_reference reference
 
- Public Types inherited from _Iterator012< forward_iterator_tag, _Mylist::value_type, _Mylist::difference_type, _Mylist::const_pointer, _Mylist::const_reference, _Base >
typedef forward_iterator_tag iterator_category
 
typedef _Mylist::value_type value_type
 
typedef _Mylist::difference_type difference_type
 
typedef _Mylist::const_pointer pointer
 
typedef _Mylist::const_reference reference
 

Public Member Functions

 _Flist_unchecked_const_iterator ()
 
 _Flist_unchecked_const_iterator (_Nodeptr _Pnode, const _Mylist *_Plist)
 
reference operator* () const
 
pointer operator-> () const
 
_Myiteroperator++ ()
 
_Myiter operator++ (int)
 
bool operator== (const _Myiter &_Right) const
 
bool operator!= (const _Myiter &_Right) const
 
_Nodeptr _Mynode () const
 

Public Attributes

_Nodeptr _Ptr
 

Member Typedef Documentation

template<class _Mylist, class _Base = _Iterator_base0>
typedef _Flist_unchecked_const_iterator<_Mylist, _Base> _Flist_unchecked_const_iterator< _Mylist, _Base >::_Myiter
template<class _Mylist, class _Base = _Iterator_base0>
typedef _Mylist::_Nodeptr _Flist_unchecked_const_iterator< _Mylist, _Base >::_Nodeptr
template<class _Mylist, class _Base = _Iterator_base0>
typedef _Mylist::difference_type _Flist_unchecked_const_iterator< _Mylist, _Base >::difference_type
template<class _Mylist, class _Base = _Iterator_base0>
typedef forward_iterator_tag _Flist_unchecked_const_iterator< _Mylist, _Base >::iterator_category
template<class _Mylist, class _Base = _Iterator_base0>
typedef _Mylist::const_pointer _Flist_unchecked_const_iterator< _Mylist, _Base >::pointer
template<class _Mylist, class _Base = _Iterator_base0>
typedef _Mylist::const_reference _Flist_unchecked_const_iterator< _Mylist, _Base >::reference
template<class _Mylist, class _Base = _Iterator_base0>
typedef _Mylist::value_type _Flist_unchecked_const_iterator< _Mylist, _Base >::value_type

Constructor & Destructor Documentation

template<class _Mylist, class _Base = _Iterator_base0>
_Flist_unchecked_const_iterator< _Mylist, _Base >::_Flist_unchecked_const_iterator ( )
inline
38  : _Ptr()
39  { // construct with null node pointer
40  }
_Nodeptr _Ptr
Definition: forward_list:86
template<class _Mylist, class _Base = _Iterator_base0>
_Flist_unchecked_const_iterator< _Mylist, _Base >::_Flist_unchecked_const_iterator ( _Nodeptr  _Pnode,
const _Mylist *  _Plist 
)
inline
43  : _Ptr(_Pnode)
44  { // construct with node pointer _Pnode
45  this->_Adopt(_Plist);
46  }
_Nodeptr _Ptr
Definition: forward_list:86

Member Function Documentation

template<class _Mylist, class _Base = _Iterator_base0>
_Nodeptr _Flist_unchecked_const_iterator< _Mylist, _Base >::_Mynode ( ) const
inline
82  { // return node pointer
83  return (_Ptr);
84  }
_Nodeptr _Ptr
Definition: forward_list:86
template<class _Mylist, class _Base = _Iterator_base0>
bool _Flist_unchecked_const_iterator< _Mylist, _Base >::operator!= ( const _Myiter _Right) const
inline
77  { // test for iterator inequality
78  return (!(*this == _Right));
79  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Mylist, class _Base = _Iterator_base0>
reference _Flist_unchecked_const_iterator< _Mylist, _Base >::operator* ( ) const
inline
49  { // return designated value
50  return (_Mylist::_Myval(_Ptr));
51  }
_Nodeptr _Ptr
Definition: forward_list:86
template<class _Mylist, class _Base = _Iterator_base0>
_Myiter& _Flist_unchecked_const_iterator< _Mylist, _Base >::operator++ ( )
inline
59  { // preincrement
60  _Ptr = _Mylist::_Nextnode(_Ptr);
61  return (*this);
62  }
_Nodeptr _Ptr
Definition: forward_list:86
template<class _Mylist, class _Base = _Iterator_base0>
_Myiter _Flist_unchecked_const_iterator< _Mylist, _Base >::operator++ ( int  )
inline
65  { // postincrement
66  _Myiter _Tmp = *this;
67  ++*this;
68  return (_Tmp);
69  }
_Flist_unchecked_const_iterator< _Mylist, _Base > _Myiter
Definition: forward_list:28
template<class _Mylist, class _Base = _Iterator_base0>
pointer _Flist_unchecked_const_iterator< _Mylist, _Base >::operator-> ( ) const
inline
54  { // return pointer to class object
55  return (pointer_traits<pointer>::pointer_to(**this));
56  }
Definition: xmemory0:244
template<class _Mylist, class _Base = _Iterator_base0>
bool _Flist_unchecked_const_iterator< _Mylist, _Base >::operator== ( const _Myiter _Right) const
inline
72  { // test for iterator equality
73  return (_Ptr == _Right._Ptr);
74  }
_Nodeptr _Ptr
Definition: forward_list:86
constexpr const _Ty &() _Right
Definition: algorithm:3591

Member Data Documentation

template<class _Mylist, class _Base = _Iterator_base0>
_Nodeptr _Flist_unchecked_const_iterator< _Mylist, _Base >::_Ptr

The documentation for this class was generated from the following file: