Re: [Boost-bugs] [Boost C++ Libraries] #5971: size() return type should be size_type, not difference_type

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5971: size() return type should be size_type, not difference_type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-25 22:56:13


#5971: size() return type should be size_type, not difference_type
-------------------------------------------------------+--------------------
  Reporter: Olaf van der Spek <olafvdspek@…> | Owner: neilgroves
      Type: Bugs | Status: closed
 Milestone: Boost 1.50.0 | Component: range
   Version: Boost 1.47.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------------------------------+--------------------

Comment (by Olaf van der Spek <olafvdspek@…>):

 Hi Neil,

 Are you sure this was fixed?

 boost_1_53_0\boost\range\iterator_range_core.hpp:

 {{{
 difference_type size() const
 {
   return m_End - m_Begin;
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5971#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:12 UTC