I have a map of my own class, accessed by a string. I need to cycle through this map and access each element in turn.
I've read a lot about 'iterators' but been able to comprehend none of it, and have not succeeded in getting any code to compile when attempting to use them.
Is there anything I should know to make the class work, like syntax for iterators, constructors my class should have, etc.?
Help would be greatly appreciated.