How is this done in C++0x?
std::vector myv1; std::transform(myv1.begin(), myv1.end(), myv1.begin(), std::bind1st(std::multiplies
Like this:
vector myv1; transform(myv1.begin(), myv1.end(), myv1.begin(), [](double v) { return v*3.0; });