[#bsl-Deque_Base-at-08] = xref:bsl.adoc[bsl]::xref:bsl/Deque_Base.adoc[Deque_Base]::at :relfileprefix: ../../ :mrdocs: Return a non‐modifiable reference to the element at `position`. == Synopsis Declared in `<bslstl_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/Deque_Base/const_reference.adoc[Deque_Base<VALUE_TYPE>::const_reference] at(xref:bsl/Deque_Base/size_type.adoc[size_type] position) const; ---- == Description Return a reference providing non‐modifiable access to the element at the specified `position` in this deque. Throw a `std::out_of_range` exception if `position >= size()`. == Return Value non‐modifiable reference to the element at `position` == Parameters [cols="1,4"] |=== | Name| Description | *position* | zero‐based index of the element |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#