Partager via


vector::const_pointer

A type that represents a read-only pointer to an element in a vector.

typedef typename Allocator::const_pointer const_pointer;

Remarks

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

An iterator is more commonly used to access a vector element.

Requirements

Header: <vector>

Namespace: std

See Also

Reference

vector Class

Standard Template Library