Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

list::const_pointer

 

Provides a pointer to a const element in a list.


typedef typename Allocator::const
_
pointer const
_
pointer;

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

In most cases, an iterator should be used to access the elements in a list object.

Requirements

Header: <list>

Namespace: std

Show:
© 2017 Microsoft