What is a good clean way to convert a std::vector<int> intVec
to std::vector<double> doubleVec
. Or, more generally, to convert two vectors of convertible types?
What is a good clean way to convert a std::vector<int> intVec
to std::vector<double> doubleVec
. Or, more generally, to convert two vectors of convertible types?