Get a mutable reference to the element in the deque at the given index. Requires idx < size().
Declared in <util/vecdeque.h>
T&
operator[](size_t idx) noexcept;
A mutable reference to the element at idx.
| Name | Description |
|---|---|
| idx | The zero-based logical index of the element. |