prevector::operator[]

Returns a reference to the element at position pos.

Synopsis

Declared in <prevector.h>

T&
operator[](size_type pos);

Return Value

A reference to the element at that position.

Parameters

NameDescription
posThe index of the element to access.