3 ms·
In places where you need to know the exact type auto probably isn't the right choice. There are many cases where the type is clear however or irrelevant or in
by johannes1234321 7y ago
In places where you need to know the exact type auto probably isn't the right choice.
There are many cases where the type is clear however or irrelevant or in generic code is hard to express (thus depending on documentation/comments unless obvious) which would also be hard to read.