hashtable exception safety patch
Paolo Carlini
paolo.carlini@oracle.com
Mon Sep 12 19:17:00 GMT 2011
On 09/12/2011 09:08 PM, François Dumont wrote:
> Hi
>
> Yes, ext/throw_allocator.h was just what I needed, with even
> better type names. Here is the patch again with the same ChangeLog
> entry. Tested under linux x86_64.
>
> Ok to commit ?
Almost. Before that, please just rebase on the patch I attached in my
previous message: I see you (re)introduced various problems, like '/' at
the end of lines, instead of the beginning; size_type
__saved_next_resize wrongly non-const in rehash(size_type); the comment:
// Allocate the new node before doing the rehash so that we don't
// do a rehash if the allocation throws.
again in the wrong place. There may be more, just rebase, please.
Paolo.
More information about the Libstdc++
mailing list