Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3659: warning when using boost::counting_iterator<int> and std::vector<int> on MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-09 03:56:39
#3659: warning when using boost::counting_iterator<int> and std::vector<int> on
MSVC
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: dave
Type: Bugs | Status: closed
Milestone: Boost 1.42.0 | Component: iterator
Version: Boost 1.41.0 | Severity: Cosmetic
Resolution: wontfix | Keywords:
---------------------------+------------------------------------------------
Changes (by steven_watanabe):
* status: new => closed
* resolution: => wontfix
Comment:
I don't think this is fixable. The difference type of counting_iterator
is deliberately set to intmax_t, so that any difference can be
represented. You can explicitly set the difference type to something
else, if you really want to.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3659#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:03 UTC