DEV Community

Discussion on: STL Algorithms: Counting and Finding

Collapse
olask profile image
Ola Sk Author • Edited on

It's a good point. As for code it highly depends whether or not auto makes it more readable, sometimes it's enough for you to know that it's an iterator and you can use it like so, ie. for a further search in this case or dereferencing to extract the value.
As the article aims at rather explaing, this will make the explanation clearer, so I'm gonna update the article soon. Thanks.