次の方法で共有


vector::reference

A type that provides a reference to an element stored in a vector.

typedef typename Allocator::reference reference;

Example

See at for an example of how to use reference in the vector class.

Requirements

Header: <vector>

Namespace: std

See Also

Concepts

vector Class

vector Members

Standard Template Library