description | title | ms.date | f1_keywords | ms.assetid | |
---|---|---|---|---|---|
Learn more about: <forward_list> functions |
<forward_list> functions |
11/04/2016 |
|
0d6bc656-7049-4651-a4bd-c9a805e47756 |
Exchanges the elements of two forward lists.
void swap(forward_list <Type, Allocator>& left, forward_list <Type, Allocator>& right);
left
An object of type forward_list
.
right
An object of type forward_list
.
This template function executes left.swap(right)
.