I am working on a project where it would be useful to create an iterator type for an MFC class CArray.
Since CArray is part of the MFC libraries I do not have access to this object.
I have not completely got my head around creating iterators, but as far as I am aware, one would usually create an iterator type as a member of the class type for which the iterator corresponds. In other words, access to the class itself is required.
Is it possible to create an iterator "external" to a class. ie: External to the CArray class.