VecDeque::front

front overloads

Synopses

Declared in <util/vecdeque.h>

Get a mutable reference to the first element of the deque. Requires !empty().

T&
front() noexcept;
» more...

Get a const reference to the first element of the deque. Requires !empty().

T const&
front() const noexcept;
» more...

Return Value

  • A mutable reference to the first element.
  • A const reference to the first element.