BloombergLP::bdld::DatumIntMapRef::operator[]

Return a reference to the map entry at the specified position.

Synopsis

Declared in <bdld_datum.h>

DatumIntMapEntry const&
operator[](size_type position) const;

Description

Return a reference providing non-modifiable access to the element at the specified position in the array of map entries this reference object represents. The behavior is undefined unless `position < size()`.

Return Value

a reference to the map entry at the specified position

Parameters

NameDescription
positionzero-based index of the entry