std::_List_iterator< _Tp >(3cxx) | std::_List_iterator< _Tp >(3cxx) |
NAME¶
std::_List_iterator< _Tp > - A list::iterator.
SYNOPSIS¶
#include <list>
Public Types¶
typedef _List_node< _Tp > _Node
typedef _List_iterator< _Tp > _Self
typedef ptrdiff_t difference_type
typedef std::bidirectional_iterator_tag iterator_category
typedef _Tp * pointer
typedef _Tp & reference
typedef _Tp value_type
Public Member Functions¶
_List_iterator (__detail::_List_node_base *__x)
noexcept
_Self _M_const_cast () const noexcept
reference operator* () const noexcept
_Self & operator++ () noexcept
_Self operator++ (int) noexcept
_Self & operator-- () noexcept
_Self operator-- (int) noexcept
pointer operator-> () const noexcept
Public Attributes¶
__detail::_List_node_base * _M_node
Friends¶
bool operator== (const _Self &__x, const
_Self &__y) noexcept
Detailed Description¶
template<typename _Tp>¶
struct std::_List_iterator< _Tp >"A list::iterator.
All the functions are op overloads.
Definition at line 253 of file list.
Member Typedef Documentation¶
template<typename _Tp > typedef _List_node<_Tp> std::_List_iterator< _Tp >::_Node¶
Definition at line 256 of file list.
template<typename _Tp > typedef _List_iterator<_Tp> std::_List_iterator< _Tp >::_Self¶
Definition at line 255 of file list.
template<typename _Tp > typedef ptrdiff_t std::_List_iterator< _Tp >::difference_type¶
Definition at line 258 of file list.
template<typename _Tp > typedef std::bidirectional_iterator_tag std::_List_iterator< _Tp >::iterator_category¶
Definition at line 259 of file list.
template<typename _Tp > typedef _Tp* std::_List_iterator< _Tp >::pointer¶
Definition at line 261 of file list.
template<typename _Tp > typedef _Tp& std::_List_iterator< _Tp >::reference¶
Definition at line 262 of file list.
template<typename _Tp > typedef _Tp std::_List_iterator< _Tp >::value_type¶
Definition at line 260 of file list.
Constructor & Destructor Documentation¶
template<typename _Tp > std::_List_iterator< _Tp >::_List_iterator () [inline], [noexcept]¶
Definition at line 264 of file list.
template<typename _Tp > std::_List_iterator< _Tp >::_List_iterator (__detail::_List_node_base * __x) [inline], [explicit], [noexcept]¶
Definition at line 268 of file list.
Member Function Documentation¶
template<typename _Tp > _Self std::_List_iterator< _Tp >::_M_const_cast () const [inline], [noexcept]¶
Definition at line 272 of file list.
template<typename _Tp > reference std::_List_iterator< _Tp >::operator* () const [inline], [noexcept]¶
Definition at line 278 of file list.
template<typename _Tp > _Self & std::_List_iterator< _Tp >::operator++ () [inline], [noexcept]¶
Definition at line 287 of file list.
template<typename _Tp > _Self std::_List_iterator< _Tp >::operator++ (int) [inline], [noexcept]¶
Definition at line 294 of file list.
template<typename _Tp > _Self & std::_List_iterator< _Tp >::operator-- () [inline], [noexcept]¶
Definition at line 302 of file list.
template<typename _Tp > _Self std::_List_iterator< _Tp >::operator-- (int) [inline], [noexcept]¶
Definition at line 309 of file list.
template<typename _Tp > pointer std::_List_iterator< _Tp >::operator-> () const [inline], [noexcept]¶
Definition at line 283 of file list.
Friends And Related Function Documentation¶
template<typename _Tp > bool operator== (const _Self & __x, const _Self & __y) [friend]¶
Definition at line 318 of file list.
Member Data Documentation¶
template<typename _Tp > __detail::_List_node_base* std::_List_iterator< _Tp >::_M_node¶
Definition at line 329 of file list.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Sun Jan 8 2023 | libstdc++ |