std::_List_const_iterator(3)

std::_List_const_iterator3

A list::const_iterator.

Usage

#include <list>

Public Types

typedef const _List_node< _Tp > _Node
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) noexcept
_List_const_iterator (const iterator &__x) noexcept
iterator _M_const_cast () const noexcept
reference operator* () const noexcept
_List_const_iterator & operator++ () noexcept
_List_const_iterator operator++ (int) noexcept
_List_const_iterator & operator-- () noexcept
_List_const_iterator operator-- (int) noexcept
pointer operator-> () const noexcept

Public Attributes

const __detail::_List_node_base * _M_node

Friends

bool operator== (const _List_const_iterator &__x, const _List_const_iterator &__y) noexcept

Detailed Description

template<typename _Tp>

struct std::_List_const_iterator< _Tp >"A list::const_iterator.

All the functions are op overloads.

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. Arch

Author

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

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.