I was just wondering if there was anything (either in c++11 or boost) that could help me do something like this:
std::vector v1 = {1, 2, 3}; std::
std::transform is what you are looking for.