Template:cpp/container/emplace front

Inserts a new element to the beginning of the container. The element is constructed through std, which typically uses placement-new to construct the element in-place at the location provided by the container. The arguments are forwarded to the constructor as.

Complexity
Constant.

Exceptions
If an exception is thrown, this function has no effect (strong exception guarantee).