Return a reference providing non‐modifiable access to the element at the specified index. The behavior is undefined unless 0 < size() && index < size().

Synopsis

Declared in <bsltf_testvaluesarray.h>

VALUE const&
operator[](size_t index) const;

Return Value

a reference providing non‐modifiable access to the element at index

Parameters

Name

Description

index

zero‐based index of the desired element

Created with MrDocs