Returns a const reference to the element at position pos.

Synopsis

Declared in <prevector.h>

T const&
operator[](size_type pos) const;

Return Value

A const reference to the element at that position.

Parameters

Name

Description

pos

The index of the element to access.

Created with MrDocs