Re: [Boost-bugs] [Boost C++ Libraries] #1908: boost::size(std::set<T> const& s) causes compile errors with msvc

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1908: boost::size(std::set<T> const& s) causes compile errors with msvc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-11 08:54:35


#1908: boost::size(std::set<T> const& s) causes compile errors with msvc
---------------------------------------------------------+------------------
  Reporter: Shayne Fletcher <fletch_at_[hidden]> | Owner: nesotto
      Type: Bugs | Status: new
 Milestone: Boost 1.36.0 | Component: range
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords: range msvc size set
---------------------------------------------------------+------------------
Comment (by fletch_at_[hidden]):

 Recent comments on the boost dev list suggest this failure is intentional;
 set iterators are not in the random access category (and so size can not
 be computed in O(1)). Happy to withdraw this report if that is indeed the
 case.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1908#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:49:58 UTC