Subject: [Boost-bugs] [Boost C++ Libraries] #8061: iterator_range::size() return type should be size_type, not difference_type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-14 11:25:49
#8061: iterator_range::size() return type should be size_type, not difference_type
---------------------------------------------------------+------------------
Reporter: Jan Vogelgesang <jan.vogelgesang@â¦> | Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.53.0 | Severity: Problem
Keywords: |
---------------------------------------------------------+------------------
The return type of iterator_range::size() should be size_type.
In the documentation
(http://www.boost.org/doc/libs/1_53_0/libs/range/doc/html/range/reference/utilities/iterator_range.html)
the return type is size_type, in trunk and 1.53 it is difference_type.
(This is same issue was discussed and resolved in Ticket #5971, however
class iterator_range might be forgotten there)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8061> 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