Is there an easy way to cast my vector<int> to vector<double>, without generating a new vector and copying and typecasting each element from one to the other?
I have a class constructor that takes a bunch of vector<doubles> , and it is impractical to template the entire class...
I have a class constructor that takes a bunch of vector<doubles> , and it is impractical to template the entire class...
Comment