This documentation is archived and is not being maintained.

vector::reference

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

typedef typename Allocator::reference reference;

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

Header: <vector>

Namespace: std

Show: