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.
Exchanges the elements of two forward lists.
void swap(
forward_list <Type, Allocator>& _Left,
forward_list <Type, Allocator>& _Right
);
Parameters
Parameter |
Description |
|---|---|
_Left |
An object of type forward_list. |
_Right |
An object of type forward_list. |
Remarks
This template function executes _Left.swap(_Right).
Requirements
Header: <forward_list>
Namespace: std