SysTutorials

Linux Manual Pages › Section 3

std_list_const_iterator(3)

std::_List_const_iterator< _Tp > –

Synopsis

Public Types

typedef const _List_node< _Tp > _Node

typedef _List_const_iterator< _Tp > _Self

typedef ptrdiff_t difference_type

typedef _List_iterator< _Tp > iterator

typedef
std::bidirectional_iterator_tag iterator_category"

typedef const _Tp * pointer

typedef const _Tp & reference

typedef _Tp value_type

Public Member Functions

_List_const_iterator (const __detail::_List_node_base *__x)

_List_const_iterator (const iterator &__x)

bool operator!= (const _Self &__x) const

reference operator* () const

_Self & operator++ ()

_Self operator++ (int)

_Self & operator– ()

_Self operator– (int)

pointer operator-> () const

bool operator== (const _Self &__x) const

Public Attributes

const __detail::_List_node_base * _M_node

Detailed Description

template<typename _Tp>struct std::_List_const_iterator< _Tp >

A list::const_iterator.

All the functions are op overloads.

Definition at line 200 of file stl_list.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.