I would like to be able to write something like
char f(char); vector<char> bar; vector<char> foo = map(f, bar);
The transform function appears to be similar, but it will not autogenerate the size of the resultant collection.
transform