Long-standing error in exception handling by pool_allocator (contains untested patch)

Benjamin Kosnik bkoz@redhat.com
Mon Oct 11 15:33:00 GMT 2004



>2004-10-11  Joachim Kuebart  <kuebart@mathematik.uni-ulm.de>
>	    Paolo Carlini  <pcarlini@suse.de>
>
>	* src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
>	Deal properly with exceptions thrown by ::operator new(size_t).
>	* testsuite/ext/pool_allocator/allocate_chunk.cc: New.
>
>	* include/ext/pool_allocator.h: Include <cstdlib>.

can you put this in gcc-3_4-branch too please?

-benjamin



More information about the Libstdc++ mailing list