Re: [Boost-bugs] [Boost C++ Libraries] #4333: boost::iterator_range<T>::size() only works for T = random access iterator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4333: boost::iterator_range<T>::size() only works for T = random access iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-07 18:02:45


#4333: boost::iterator_range<T>::size() only works for T = random access iterator
---------------------------+------------------------------------------------
  Reporter: mstefanro | Owner: neilgroves
      Type: Bugs | Status: closed
 Milestone: Boost 1.43.0 | Component: range
   Version: Boost 1.44.0 | Severity: Problem
Resolution: invalid | Keywords:
---------------------------+------------------------------------------------

Comment (by Jonathan Wakely <jwakely.boost@…>):

 Nevermind, I guess it's probably to guarantee an O(1) size()

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4333#comment:3>
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:11 UTC