[Boost-bugs] [Boost C++ Libraries] #6685: map_keys, map_values range adaptor specializations for MFC CMap<> and CMapStringToString

Subject: [Boost-bugs] [Boost C++ Libraries] #6685: map_keys, map_values range adaptor specializations for MFC CMap<> and CMapStringToString
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-13 16:41:03


#6685: map_keys, map_values range adaptor specializations for MFC CMap<> and
CMapStringToString
------------------------------------------------------+---------------------
 Reporter: Adam D. Walling <adam.walling@…> | Owner: neilgroves
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost 1.49.0 | Severity: Not Applicable
 Keywords: range mfc map_keys adaptor |
------------------------------------------------------+---------------------
 While the existing MFC/ATL headers mostly work with the range algorithms
 and adaptors, using map_keys and map_values fails due to the return type
 of CMap<>::CPair etc. This provides a specialization of the select_first,
 select_second_const, and select_second_mutable template classes which
 allows CMap<> and CMapStringToString to work with the map_keys and
 map_values range adaptors. Due to the layout of everything, there did not
 seem to be an applicable place to insert this code, therefore I created a
 new mfc_map.hpp file under adaptors. While I am uncertain whether this is
 fit for the library itself, perhaps it will be of use to others who happen
 across this.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6685>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC