Opened 13 years ago
Closed 12 years ago
#3102 closed Bugs (invalid)
[interprocess] map::insert returning end() on success
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost 1.39.0 | Severity: | Problem |
Keywords: | map interprocess insert | Cc: |
Description
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.
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I can't reproduce the bug, could you attach a test case that reproduces this behaviour?