Udostępnij za pośrednictwem


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

Reference

vector Class

Standard Template Library

Other Resources

vector Members