Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9929: Bugfix: comparison involving different types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-20 04:55:07
#9929: Bugfix: comparison involving different types
--------------------------------------+------------------------
Reporter: gonzalobg88@⦠| Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+------------------------
Comment (by marshall):
But I do believe that it has to be a "signed integer type"
See [iterator.requirements.general]/p1; the last sentence:
For every iterator type X for which equality is defined, there is a
corresponding signed integer type called the difference type of the
iterator.
See also [basic.fundamental]/p2, which says:
There are five standard signed integer types : âsigned charâ, âshort
intâ, âintâ, âlong intâ, and âlong long intâ.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9929#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:50:16 UTC