共用方式為


list::pointer

Provides a pointer to an element in a list.

typedef typename Allocator::pointer pointer;

Remarks

A type pointer can 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

See Also

Reference

list Class

Standard Template Library