[Cs3] Question on Iterator Movement Functions Slide
Mikhail Nesterenko
mikhail at cs.kent.edu
Fri Dec 8 12:57:25 EST 2023
>
> I was hoping you could clarify something for me from slide 26 of the Algorithms PowerPoint. The slide says for both advance() and next(), "if iterator is input" and "if iterator is random access". Could you clarify what these two statements are talking about?
>
I gave up teaching C++ iterator categories. Here is a page for the
curious.
https://cplusplus.com/reference/iterator/
I'll update the slide to mean random-acess and non-random accewss.
Thanks,
--
Mikhail
More information about the cs3
mailing list