5 ms·
If the type is not obvious one can also write for(Class entry : container) This is still an uncontroversial improvement over having to typedef or use auto
by eska 6y ago
If the type is not obvious one can also write
for(Class entry : container)
This is still an uncontroversial improvement over having to typedef or use auto for the iterator.
- badsectoracula 6y agoSure, that is what i'd probably write myself too.