Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9851: Iterators from rang have different category than the range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-08 11:18:14
#9851: Iterators from rang have different category than the range
-------------------------------+------------------------
Reporter: anonymous | Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------
Comment (by anonymous):
Strangely, removing the line
{{{
auto c = vector<int>(b::begin(b), b::end(b));
}}}
results in the output "1, 1" instead of "0, 0", so it seems like merely
chaining together adaptors causes the functions to be called. Perhaps the
problem is caused by something other than iterator categories after all.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9851#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:16 UTC