Subject: [Boost-bugs] [Boost C++ Libraries] #7948: Hinted addition on a split_interval_map does more than normal addition.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-29 08:37:38
#7948: Hinted addition on a split_interval_map does more than normal addition.
---------------------------------------------------------------+------------
Reporter: Marvin Sielenkemper <m.sielenkemper@â¦> | Owner: jofaber
Type: Bugs | Status: new
Milestone: To Be Determined | Component: ICL
Version: Boost 1.51.0 | Severity: Problem
Keywords: |
---------------------------------------------------------------+------------
When adding an entry into an empty {{{split_interval_map}}} via the non-
hinted {{{add}}}, the value is placed in the container by copying it
there, only one value is default constructed for the absorption check.
With hinted addition the new entry is first default created in the
container, then the entering entry is added via {{{inplace_plus}}}.
I would expect both operations to involve the same operations on the entry
added since the hint only concerns finding the right place, not the
handling.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7948> 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:11 UTC