jeudi 21 juillet 2016

C++ auto keyword for flexibility

Is it an good idea to use auto as much as possible so changing data types in your code is more flexible? Like if you use a bunch of range-based for loops would it be efficient to always use auto so you never have to go back and change the data type the for loop?

Aucun commentaire:

Enregistrer un commentaire