Return a non-modifiable reference to the element at position.
Declared in <bslstl_deque.h>
Deque_Base<VALUE_TYPE>::const_reference
at(size_type position) const;
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().
non-modifiable reference to the element at position
| Name | Description |
|---|---|
| position | zero-based index of the element |