Subject: [Boost-bugs] [Boost C++ Libraries] #4905: Implementation of boost::range::map_keys should use boost::range_reference
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-29 12:58:35
#4905: Implementation of boost::range::map_keys should use boost::range_reference
--------------------------------+-------------------------------------------
Reporter: ru.elric@⦠| Owner: neilgroves
Type: Patches | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.45.0 | Severity: Optimization
Keywords: |
--------------------------------+-------------------------------------------
The following thread provides detailed background for the problem:
http://thread.gmane.org/gmane.comp.lib.boost.devel/211127
This patch simply replaces the usage of boost::range_value<Range>::type&
with boost::range_reference<Range>::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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4905> 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:04 UTC