Guidelines to an Iterator Class
Posted
by isurulucky
on Stack Overflow
See other posts from Stack Overflow
or by isurulucky
Published on 2010-06-03T05:41:19Z
Indexed on
2010/06/03
5:44 UTC
Read the original article
Hit count: 383
Hi,
I have a Red Black tree implemented in c++. It supports the functionality of a STL map. Tree nodes contain keys and the values mapped. I want to write an iterator class for this, but I'm stuck with how to do it. Should I make it an inner class of the Tree class? Can anyone give me some guidelines on how to write it + some resources??
Thank You!!
© Stack Overflow or respective owner