A collegue said to me that he doesn't see the benefits of using auto
in C++11, because it can create troubles with the types of the variables.
What do you guys think?
Which are for you the benefits and disadvantage of using auto
in your code?
A collegue said to me that he doesn't see the benefits of using auto
in C++11, because it can create troubles with the types of the variables.
What do you guys think?
Which are for you the benefits and disadvantage of using auto
in your code?