Subject: [Boost-bugs] [Boost C++ Libraries] #6089: Non const & used in ptr_map::insert
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-03 18:24:57
#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
Keywords: |
--------------------------------+-------------------------------------------
The boost::ptr_map inserter takes a "key_type &" rather than a "const
key_type &." This is annoying if you have a function that takes a const &.
I've attached a patch which should fix the problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6089> 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:07 UTC