Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds an element to the beginning of a forward list.
void push_front(const Type& _Val);
void push_front(Type&& _Val);
Parameters
Parameter |
Description |
|---|---|
_Val |
The element added to the beginning of the forward list. |
Remarks
If an exception is thrown, the container is left unaltered and the exception is rethrown.
Requirements
Header: <forward_list>
Namespace: std