Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

MFC/ATL (courtesy of Shunsuke Sogame)

Requirements
MFC Ranges
ATL Ranges
const Ranges
References
Introduction

This implementation was kindly donated by Shunsuke Sogame. This header adapts MFC and ATL containers to the appropriate Range concepts.

Author:

Shunsuke Sogame

Contact:

mb2act@yahoo.co.jp

Date:

26th of May 2006

Copyright:

Shunsuke Sogame 2005-2006. Use, modification and distribution is subject to the Boost Software License, Version 1.0

Overview

Boost.Range MFC/ATL Extension provides Boost.Range support for MFC/ATL collection and string types.

CTypedPtrArray<CPtrArray, CList<CString> *> myArray;
...
BOOST_FOREACH (CList<CString> *theList, myArray)
{
    BOOST_FOREACH (CString& str, *theList)
    {
        boost::to_upper(str);
        std::sort(boost::begin(str), boost::end(str));
        ...
    }
}


PrevUpHomeNext