Re: [Boost-bugs] [Boost C++ Libraries] #8617: Surprising/wrong semantics of counting_range

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8617: Surprising/wrong semantics of counting_range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-27 17:41:23


#8617: Surprising/wrong semantics of counting_range
-------------------------------+------------------------
  Reporter: pbazant@… | Owner: neilgroves
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: range
   Version: Boost 1.53.0 | Severity: Problem
Resolution: fixed | Keywords: range
-------------------------------+------------------------
Changes (by neilgroves):

 * status: assigned => closed
 * resolution: => fixed

Comment:

 The counting_range is now just a dumb wrapper for a range of
 counting_iterator with entirely consistent semantics to the underlying
 iterator. I agree that other counting type ranges and adapters are useful
 but that's not this ticket. This ticket is about the defect of the
 counting_range function that takes ranges.

 The adaptor that has been mentioned may be useful, but I don't want to
 make it a counted adaptor. This is just too bonkers even for my code! I am
 happy to create something else for doing the opposite of indirecting
 (directing?!). I shall consider adding a directed adaptor.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8617#comment:4>
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