---
name: "std::List_iterator_base"
section: "3"
platform: "linux"
package: "libstdc++5-3.3-doc"
version: "1:3.3.6-15"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/std::List_iterator_base"
---

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

## NAME

std::List\_iterator\_base -

## SYNOPSIS

Inherited by **std::List\_iterator\< Type, Ref, Ptr \>**.

### Public Types

typedef size\_t **size\_type**\
 typedef ptrdiff\_t **difference\_type**\
 typedef **bidirectional\_iterator\_tag** **iterator\_category**\

### Public Member Functions

**List\_iterator\_base** (**List\_node\_base** \*x)\
 **List\_iterator\_base** ()\
 void **M\_incr** ()\
 *Walk the list forward.*  void **M\_decr** ()\
 *Walk the list backward.*  bool **operator==** (const **List\_iterator\_base** &x) const\
 bool **operator!=** (const **List\_iterator\_base** &x) const\

### Public Attributes

**List\_node\_base** \* **M\_node**\
 *The only member points to the list element.*

## Detailed Description

Definition at line 97 of file stl\_list.h.

## Member Function Documentation

### void std::List\_iterator\_base::M\_incr ()` [inline]`

Walk the list forward.

Definition at line 116 of file stl\_list.h.

### void std::List\_iterator\_base::M\_decr ()` [inline]`

Walk the list backward.

Definition at line 121 of file stl\_list.h.

## Member Data Documentation

### List\_node\_base\* std::List\_iterator\_base::M\_node

The only member points to the list element.

Definition at line 104 of file stl\_list.h.

## Author

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