Re: [Boost-bugs] [Boost C++ Libraries] #4107: ptr_map::mapped_type incorrect

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4107: ptr_map::mapped_type incorrect
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-04 20:44:01


#4107: ptr_map::mapped_type incorrect
-----------------------------------+----------------------------------------
  Reporter: olafvdspek@… | Owner: nesotto
      Type: Bugs | Status: closed
 Milestone: Boost 1.43.0 | Component: ptr_container
   Version: Boost 1.42.0 | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------+----------------------------------------
Changes (by c_crickmar <chris@…>):

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

Comment:

 boost::ptr_map is not a drop in replacement for std::map. mapped_type is
 always a pointer, the container is designed to handle the memory
 management tasks of the heap allocated object.

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