Re: [Boost-bugs] [Boost C++ Libraries] #5162: boost::iterator_range< T* > is unsafe

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5162: boost::iterator_range< T* > is unsafe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-02 13:07:48


#5162: boost::iterator_range< T* > is unsafe
-------------------------------------+--------------------------------------
  Reporter: nicos@… | Owner: neilgroves
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: range
   Version: Boost 1.45.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------------+--------------------------------------
Changes (by neilgroves):

  * status: new => closed
  * resolution: => fixed

Comment:

 Resolved on the trunk by simply altering the code to use static_cast.
 Additional tests were added to ensure scenarios like those provided do not
 compile, while other compatible pointers continue to work as expected.

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