[Boost-bugs] [Boost C++ Libraries] #3102: [interprocess] map::insert returning end() on success

Subject: [Boost-bugs] [Boost C++ Libraries] #3102: [interprocess] map::insert returning end() on success
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-27 19:44:20


#3102: [interprocess] map::insert returning end() on success
---------------------------------------------------+------------------------
 Reporter: Bob Walters <bob.s.walters_at_[hidden]> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: map interprocess insert |
---------------------------------------------------+------------------------
 The method:

 iterator boost::interprocess::map::insert(iterator hint, const value_type&
 x) is returning the existing entry (correctly) when an entry with the
 indicated key already exists, but when it successfully inserts a new
 value, it is returning map::end(). It should be returning an iterator
 pointing to the newly inserted entry in that case.

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