Return a const reference to the element at index.

Synopsis

Declared in <bdlc_compactedarray.h>

TYPE const&
operator[](std::size_t index) const;

Description

Return a const reference to the element at the specified index in this array. The behavior is undefined unless index < length().

Return Value

const reference to the element at index

Parameters

Name

Description

index

element index

Created with MrDocs