STL name for the "map" functional programming function
<p>I would like to be able to write something like</p>

<pre><code>char f(char);
vector&lt;char&gt; bar;
vector&lt;char&gt; foo = map(f, bar); //Strikingly functional.
</code></pre>

<p>in the STL.</p>

<p>But, as we all know, the STL has the map class as a collection.</p>

<p>Rummaging around, the <code>transform</code> function appears to be similar, but it will not cleverly autogenerate the size of the resultant collection. </p>
