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.
Move constructs a new element after a specified position.
template<class _Ty>
iterator emplace_after(const_iterator _Where, Type&& _Val);
Parameters
Parameter |
Description |
|---|---|
_Where |
The position in the target forward list where the new element is constructed. |
_Val |
The constructor argument. |
Return Value
An iterator that designates the newly inserted element.
Remarks
This member function inserts an element with the constructor arguments _Val just after the element pointed to by _Where in the controlled sequence. Its behavior is otherwise the same as forward_list::insert_after.
Requirements
Header: <forward_list>
Namespace: std