Share via


list::const_iterator

A type that provides a bidirectional iterator that can read a const element in a list.

typedef implementation-defined const_iterator;

Remarks

A type const_iterator cannot be used to modify the value of an element.

Example

See the example for back.

Requirements

Header: <list>

Namespace: std

See Also

Reference

list Class

Standard Template Library