Return a const reference to the element at the front of this array.

Synopsis

Declared in <bdlc_compactedarray.h>

TYPE const&
front() const;

Description

The behavior is undefined unless 0 < length(). Note that this method is logically equivalent to: ` operator `

Return Value

const reference to the first element

Created with MrDocs