Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6089: Non const & used in ptr_map::insert
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-02 19:44:40
#6089: Non const & used in ptr_map::insert
-------------------------------+---------------------------
Reporter: jdoliner@⦠| Owner: nesotto
Type: Bugs | Status: new
Milestone: To Be Determined | Component: ptr_container
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------
Comment (by anonymous):
Still there is 1.62.0 and causes the most basic examples of ptr_map to
fail to compile. For instance:
{{{
boost::ptr_map<int, int> m;
m.insert(0, new int(5));
}}}
It's literally a one word change to fix this.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6089#comment:2> 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:20 UTC