Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10514: Cannot copy const sub_range to non-const
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-02 01:18:55
#10514: Cannot copy const sub_range to non-const
-----------------------------------------+------------------------
Reporter: Braden McDaniel <braden@â¦> | Owner: neilgroves
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: range
Version: Boost 1.56.0 | Severity: Regression
Resolution: invalid | Keywords:
-----------------------------------------+------------------------
Changes (by neilgroves):
* status: new => closed
* resolution: => invalid
Comment:
The propagation of const-ness is the rationale for having sub_range in
addition to iterator_range. Please see:
http://www.boost.org/doc/libs/1_57_0/libs/range/doc/html/range/reference/utilities/sub_range.html
If you do not wish to propagate const-ness please use iterator_range
instead.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10514#comment:1> 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:17 UTC