[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-bugs
Subject:    [Boost-bugs] [Boost C++ Libraries] #7948: Hinted addition on a split_interval_map does more than nor
From:       "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date:       2013-01-29 8:37:38
Message-ID: 082.a37ec1b6d9448681cd1b789bf5fa7962 () lists ! boost ! org
[Download RAW message or body]

#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.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic