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);

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

void
push_front(T&& elem);

Parameters

Name

Description

elem

The element to copy to the front.

Created with MrDocs