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-12 10:01:57
#1908: boost::size(std::set<T> const& s) causes compile errors with msvc
---------------------------------------------------------+------------------
Reporter: Shayne Fletcher <fletch_at_[hidden]> | Owner: nesotto
Type: Bugs | Status: closed
Milestone: Boost 1.36.0 | Component: range
Version: Boost 1.35.0 | Severity: Problem
Resolution: invalid | Keywords: range msvc size set
---------------------------------------------------------+------------------
Changes (by nesotto):
* status: new => closed
* resolution: => invalid
Comment:
That is correct. Use
boost::distance(rng)
instead.
-Thorsten
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1908#comment:2>
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