p>
          Exchange the given values.
        </p>
<pre class="programlisting"><span class="keyword">friend</span> <span class="keyword">void</span>
<a class="link" href="swap/overload1.html" title="string::swap (1 of 2 overloads)">swap</a><span class="special">(</span>
    <span class="identifier">string</span><span class="special">&amp;</span> <span class="identifier">lhs</span><span class="special">,</span>
    <span class="identifier">string</span><span class="special">&amp;</span> <span class="identi