D
Dave
Can anybody offer a specific example of an iterator that has the
capabilities of a forward iterator but no more?
capabilities of a forward iterator but no more?
Can anybody offer a specific example of an iterator that has the
capabilities of a forward iterator but no more?
Dave said:Can anybody offer a specific example of an iterator that has the
capabilities of a forward iterator but no more?
The iterators of a singly linked list are such an example. You can't
iterate backwards (in constant time).
-Howard
Andre Kostur said:Or an istream iterator....
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.