This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hashtable exception safety patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]