---
name: "std::List_const_iterator"
section: "3"
platform: "linux"
package: "libstdc++6-doc"
version: "3.4.6-5"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/std::List_const_iterator"
---

# std::List\_const\_iterator(3)

A list::const\_iterator.

## NAME

std::List\_const\_iterator - A **list::const\_iterator**.

## SYNOPSIS

`#include <list>`

### Public Types

typedef **List\_const\_iterator**\< Type \> **Self**\
 typedef const **List\_node**\< Type \> **Node**\
 typedef **List\_iterator**\< Type \> **iterator**\
 typedef ptrdiff\_t **difference\_type**\
 typedef **bidirectional\_iterator\_tag** **iterator\_category**\
 typedef Type **value\_type**\
 typedef const Type \* **pointer**\
 typedef const Type & **reference**\

### Public Member Functions

**List\_const\_iterator** ()\
 **List\_const\_iterator** (const **List\_node\_base** \*x)\
 **List\_const\_iterator** (const **iterator** &x)\
 **reference** **operator \*** () const\
 **pointer** **operator-\>** () const\
 **Self** & **operator++** ()\
 **Self** **operator++** (int)\
 **Self** & **operator--** ()\
 **Self** **operator--** (int)\
 bool **operator==** (const **Self** &x) const \
 bool **operator!=** (const **Self** &x) const \

### Public Attributes

const **List\_node\_base** \* **M\_node**\

## Detailed Description

### template\<typename Type\> struct std::List\_const\_iterator\< Type \>

A **list::const\_iterator**.

Definition at line 187 of file list.

## Author

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