Return a reference to the element at the specified position.
Synopsis
Declared in <bdld_datum.h>
DatumArrayRef::const_reference
operator[](size_type position) const;
Description
Return a reference providing non‐modifiable access to the element at the specified position in the array this reference object represents. The behavior is undefined unless position < size().
Return Value
a reference to the element at the specified position
Parameters
Name |
Description |
position |
zero‐based index of the element |
Created with MrDocs