pan> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
      <span class="special">++</span><span class="identifier">i</span><span class="special">;</span>
   <span class="special">}</span>
<span class="special">}</span>
</pre>
<p>
            Calling
          </p>
<pre class="programlisting">enumerate_currencies(" $100.23 or £198.12 ");</pre>
<p>
            Yields the output:
          </p>
<pre class="programlisting">$10