Return a modifiable reference to the element at position.

Synopsis

Declared in <bdlcc_deque.h>

TYPE&
operator[](MonoDeque::size_type position) const;

Description

Return a reference providing modifiable access to the element at the specified position in the bsl::deque held by this proctor. The behavior is undefined unless position < size where size is the the number of elements in that deque.

Return Value

a modifiable reference to the element at position

Parameters

Name

Description

position

zero‐based index of the element

Created with MrDocs