template< class... Args >
void emplace_front( Args&&... args );
Inserts a new element to the beginning of the container. The element is constructed in-place, i.e. no copy or move operations are performed. The constructor of the element is called with exactly the same arguments, as supplied to the function.
|args||-||arguments to forward to the constructor of the element|
If an exception is thrown, this function has no effect (strong exception guarantee).
| inserts elements to the beginning |
(public member function)