I have a `vector<A>`, A has a field A::foo.
I would like to create a vector which elements are the "foo's" of the previous vector. Sure I can iterate through the vector's elements, but is there a direct implementation in the STL or other major library ?