Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7630: Range adaptors do not play nicely with range-based for loops
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-13 15:32:44
#7630: Range adaptors do not play nicely with range-based for loops
-------------------------------+------------------------
Reporter: gromer@⦠| Owner: neilgroves
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: range
Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords: range
-------------------------------+------------------------
Comment (by neilgroves):
I think I have a solution. I'm starting prototypes and will attempt to
apply this to some large codebases to ensure that backward compatibility
is maximised.
I believe we can alter the return types to have an additional template
paramter or N template parameters (to be decided) that describe some
additional range category decoration. These will be used to determine if
the range should be held / moved. By using a default template paramter(s)
for these new parameters we can maintain old behaviour for old code while
allowing new code to work in the manner requested. I believe that this
fits nicely with other new features that I intend to release.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7630#comment:16> 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:15 UTC