bsl::Deque_Base::operator[]

Subscript operators

Synopses

Declared in <bslstl_deque.h>

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

Deque_Base<VALUE_TYPE>::reference
operator[](size_type position);
» more...

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

Deque_Base<VALUE_TYPE>::const_reference
operator[](size_type position) const;
» more...