tags:

views:

66

answers:

2

which concept in c++ teaches you to extend and write your own iterator class? I know a little about writing templates.

+2  A: 

The SGI Standard Template Library (STL) documentation explains all of the iterator concepts and their relationships.

How you take those concepts and use them to implement an iterator for your own container depends entirely on what kind of container it is and what you want to do with it.

James McNellis
A: 

Thinking in C++ by Bruce Eckel has a good explanation.

js