2 ms·
C++ iterators, being a jumble of related concepts, have separate plus and minus points. (I can't read the original article since it's 403 at the moment.) The
by pkaler 16y ago
C++ iterators, being a jumble of related concepts, have separate plus and minus points.
(I can't read the original article since it's 403 at the moment.) The big concept of iterators in C++ is that they are the abstraction that connects algorithms and containers. The traits of an iterator dictate if and how an algorithm is applied to a container.