4 ms·
C++ and Java iterators use next as well.
by mahmud 15y ago
C++ and Java iterators use next as well.
- tedunangst 15y agoCalling next on an iterator and continue in a loop do very different things. C++ iterators use ++ too, but even though ++ and loops are often found together, I would not list ++ and continue as even remotely synonymous.