VecDeque::push_front

push_front overloads

Synopses

Declared in <util/vecdeque.h>

Copy-construct a new element at the beginning of the deque.

void
push_front(T const& elem);
» more...

Move-construct a new element at the beginning of the deque.

void
push_front(T&& elem);
» more...

Parameters

NameDescription
elemThe element to copy to the front.