Skip to content
Ned Bingham edited this page Mar 16, 2017 · 1 revision

std/list.h


list

  • struct end_item

A placeholder item to represent the boundaries of a linked list.

Member Variables

  • end_item *next, *prev are pointers to the contents of the list.

Member Functions

Constructor

end_item()

The default constructor. next and prev are both set to this to create a cycle. This way if someone tries to iterate beyond the boundaries of the list, they repeatedly just end up at the boundary.

Simple Containers

Standard Containers

Interface Containers

Specialized Containers

Input/Output

Algorithm

Clone this wiki locally