unordered insert hint patch
François Dumont
francois.cppdevs@free.fr
Sat Nov 27 12:54:00 GMT 2010
On 11/26/2010 11:39 PM, Paolo Carlini wrote:
> Il 26/11/10 21.34, François Dumont ha scritto:
>> Hi
>>
>> IMO the debug mode code should only take care about making debug
>> checks and then move all info to the normal code. This is why I
>> propose this patch that check and pass the hint iterator passed to
>> some unordered insert overloads and that the debug hide to the normal
>> code for the moment. This is a maintenability patch so that the day
>> the normal code use the hint iterator the debug code won't have to be
>> impacted.
> Ok, thanks. In the future, please always post the ChangeLog entry too.
>
> Paolo.
Attached patch applied:
* include/debug/unordered_map, unordered_set
(unordered_map<>::insert,
unordered_multimap<>::insert, unordered_set<>::insert,
unordered_multiset<>::insert) Debug check iterator hint and
pass it to
normal implementation.
François
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unordered_insert_hint.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20101127/fe6568cd/attachment.ksh>
More information about the Libstdc++
mailing list