Comment Comment by physicsguy Auto is fine where the context is obvious, I think. For e.g.: void func(std::vector<double> vec) { for (auto &v : vec) { // do stuff } } Here it's obvious that v is of type double. parent physicsguy 10 months ago