std::for_each?