Description: For this article, you will need Boost iterator headers files from the Boost website. Methods described here can be applied to any collection, and not just the MFC. But, for the purpose of this article, I will show how to implement STL compliant iterators on top of the MFC collection classes.
To Search:
File list (Check if you may need any files):
IterTest\IterTest
........\........\ChildFrm.cpp
........\........\ChildFrm.h
........\........\IterTest.cpp
........\........\IterTest.h
........\........\IterTest.rc
........\........\IterTest.vcproj
........\........\IterTestDoc.cpp
........\........\IterTestDoc.h
........\........\IterTestView.cpp
........\........\IterTestView.h
........\........\MainFrm.cpp
........\........\MainFrm.h
........\........\mfc_iters.h
........\........\ReadMe.txt
........\........\res
........\........\...\IterTest.ico
........\........\...\IterTest.rc2
........\........\...\IterTestDoc.ico
........\........\...\Toolbar.bmp
........\........\resource.h
........\........\stdafx.cpp
........\........\stdafx.h
........\IterTest.sln
IterTest