This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: hashtable exception safety patch
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: Paolo Carlini <pcarlini at gmail dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 12 Sep 2011 21:17:27 +0200
- Subject: Re: hashtable exception safety patch
- References: <4E2F1A56.3010000@free.fr> <4E2F204B.6060207@oracle.com> <4E31C6CE.2070906@free.fr> <7B3982F6-FEAA-4023-AC36-84B10A513651@oracle.com> <4E3849E9.5000505@free.fr> <4E5FD090.8070102@oracle.com> <4E67D2AA.8090803@gmail.com> <4E6DE38F.10405@oracle.com> <4E6E589C.2060101@gmail.com>
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.