When to write an iterator?
Posted
by Jon
on Stack Overflow
See other posts from Stack Overflow
or by Jon
Published on 2010-03-24T17:37:00Z
Indexed on
2010/03/24
17:43 UTC
Read the original article
Hit count: 345
I know this is probably a silly question.. When would I need to write my own iterator? Is it just when designing my own container class? Are there any other times when I would want to create my own iterator?
Examples would be appropriated.
-Jon
© Stack Overflow or respective owner