OSDN Git Service

2004-10-11 Joachim Kuebart <kuebart@mathematik.uni-ulm.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2004 08:19:35 +0000 (08:19 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2004 08:19:35 +0000 (08:19 +0000)
commit95356df84f451cc0ccaad85943158c688c637cce
tree1fccc1bbed722203c613963a29a7d6c90b490dd2
parent062d23bad6775669316b9c291d319f5246c17e19
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>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88872 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/pool_allocator.h
libstdc++-v3/src/pool_allocator.cc
libstdc++-v3/testsuite/ext/pool_allocator/allocate_chunk.cc [new file with mode: 0644]