[#BloombergLP-bdld-DatumArrayRef-operator_subs] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumArrayRef.adoc[DatumArrayRef]::operator[] :relfileprefix: ../../../ :mrdocs: Return a reference to the element at the specified `position`. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/DatumArrayRef/const_reference.adoc[DatumArrayRef::const_reference] operator[](xref:BloombergLP/bdld/DatumArrayRef/size_type.adoc[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 [cols="1,4"] |=== | Name| Description | *position* | zero‐based index of the element |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#