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-05 13:46:08


#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:
-----------------------------------+----------------------------------------

Comment (by c_crickmar <chris@…>):

 yes but you are taking the address of the value here '&i->second' hence
 the value_type (i) would have to be std::pair<Key, T>.

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