Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3878: "ptr_map<T>::auto_type const" acts like "std::auto_ptr<T const>" instead of "std::auto_ptr<T> const"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-31 20:38:40
#3878: "ptr_map<T>::auto_type const" acts like "std::auto_ptr<T const>" instead of
"std::auto_ptr<T> const"
---------------------------------------+------------------------------------
Reporter: ryan.gallagher@⦠| Owner: nesotto
Type: Bugs | Status: closed
Milestone: Boost 1.42.0 | Component: ptr_container
Version: Boost 1.39.0 | Severity: Problem
Resolution: wontfix | Keywords:
---------------------------------------+------------------------------------
Changes (by nesotto):
* status: new => closed
* resolution: => wontfix
Comment:
The current behavior the desired bahavior to preserve const-correctness.
In a future version, const overloads can return boost::move_ptr<const T>.
-Thorsten
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3878#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