BloombergLP::bsltf::TestValuesArray::operator[]

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

NameDescription
indexzero-based index of the desired element