Difference between revisions of "cpp/algorithm/swap"
From cppreference.com
m (Text replace - "{{params}}" to "===Parameters===") |
m (Text replace - "{{returns}}" to "===Return value===") |
||
Line 18: | Line 18: | ||
<!-- ======== --> | <!-- ======== --> | ||
− | + | ===Return value=== | |
{{return none}} | {{return none}} | ||
Revision as of 17:47, 2 August 2011
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 Assignable >
void swap( Assignable& a, Assignable& b );
</td>
void swap( Assignable& a, Assignable& b );
<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end
Swaps the given values a and b.
Parameters
a, b | - | the values to be swapped |
Return value
This section is incomplete Reason: no example |
Template:complex Template:complex constant