std::iter_swap
From cppreference.com
Template:cpp/algorithm/sidebar Template:ddcl list begin <tr class="t-dsc-header">
<td>Defined in header
</td>
<algorithm>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td class="t-dcl-nopad">template< class ForwardIterator1, class ForwardIterator2 >
void iter_swap( ForwardIterator1 a, ForwardIterator2 b );
</td>
void iter_swap( ForwardIterator1 a, ForwardIterator2 b );
<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end
Swaps the values of the elements the given iterators are pointing to.
a, b | - | iterators to the elements to swap |
Template:returns Template:return none
constant
This section is incomplete Reason: no eq fun |
This section is incomplete Reason: no example |