Click here to Skip to main content
15,885,159 members
Articles / Desktop Programming / MFC

How to wrap an MFC collection into an STL compliant iterator with the Boost iterator_facade

Rate me:
Please Sign up or sign in to vote.
4.56/5 (22 votes)
20 Oct 2008CPOL5 min read 55.6K   502   34  
How to wrap an MFC collection into an STL compliant iterator with the Boost iterator_facade.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by IterTest.rc
//
#define IDD_ABOUTBOX                    100
#define IDP_OLE_INIT_FAILED             100
#define IDR_MAINFRAME                   128
#define IDR_IterTestTYPE                129
#define ID_TESTMFCITERATORS_TESTCARRAYITERATOR 32771
#define ID_TESTMFCITERATORS_TESTCLISTITERATOR 32772
#define ID_TESTMFCITERATORS_TESTCVIEWITERATOR 32773
#define ID_TESTMFCITERATORS_TESTCDOCTEMPLATEITERATOR 32774

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        130
#define _APS_NEXT_COMMAND_VALUE         32775
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Robotz Software
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions