Boost C++ Libraries: Ticket #4905: Implementation of boost::range::map_keys should use boost::range_reference https://svn.boost.org/trac10/ticket/4905 <p> The following thread provides detailed background for the problem: <a class="ext-link" href="http://thread.gmane.org/gmane.comp.lib.boost.devel/211127"><span class="icon">​</span>http://thread.gmane.org/gmane.comp.lib.boost.devel/211127</a> </p> <p> This patch simply replaces the usage of boost::range_value&lt;Range&gt;::type&amp; with boost::range_reference&lt;Range&gt;::type in the implementation of select_first, select_second_mutable and select_second_const functors from boost::range_detail namespace. I did not run the regression tests, but I believe there's nothing to get broken here. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4905 Trac 1.4.3 ru.elric@… Mon, 29 Nov 2010 12:59:13 GMT attachment set https://svn.boost.org/trac10/ticket/4905 https://svn.boost.org/trac10/ticket/4905 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">range.diff</span> </li> </ul> <p> patch </p> Ticket Neil Groves Wed, 01 Dec 2010 07:31:57 GMT status changed https://svn.boost.org/trac10/ticket/4905#comment:1 https://svn.boost.org/trac10/ticket/4905#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Thankyou very much for this excellent defect report. I shall perform some additional testing with chained adaptors, since the introduction of references can lead to sneaky regressions with temporary values. </p> <p> I really appreciate your help. </p> Ticket Neil Groves Thu, 23 Dec 2010 08:44:25 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/4905#comment:2 https://svn.boost.org/trac10/ticket/4905#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.46.0</span> </li> </ul> <p> Resolved on the trunk. Passing regression tests. </p> Ticket