Return a non‐modifiable reference to the element at position.

Synopsis

Declared in <bslstl_deque.h>

Description

Return a reference providing non‐modifiable access to the element at the specified position in this deque. The behavior is undefined unless position < size().

Return Value

non‐modifiable reference to the element at position

Parameters

Name

Description

position

zero‐based index of the element

Created with MrDocs