Boost C++ Libraries: Ticket #6685: map_keys, map_values range adaptor specializations for MFC CMap<> and CMapStringToString https://svn.boost.org/trac10/ticket/6685 <p> 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&lt;&gt;::CPair etc. This provides a specialization of the select_first, select_second_const, and select_second_mutable template classes which allows CMap&lt;&gt; 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6685 Trac 1.4.3 Adam D. Walling <adam.walling@…> Tue, 13 Mar 2012 16:41:59 GMT attachment set https://svn.boost.org/trac10/ticket/6685 https://svn.boost.org/trac10/ticket/6685 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">mfc_map.hpp</span> </li> </ul> <p> map_keys and map_values support for MFC CMap&lt;&gt; and CMapStringToString </p> Ticket Neil Groves Tue, 04 Mar 2014 13:34:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6685#comment:1 https://svn.boost.org/trac10/ticket/6685#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Committed to the develop branch. </p> Ticket