2007-06-01 Benjamin Kosnik <bkoz@redhat.com> * include/ext/throw_allocator.h (__throw_allocator::allocate): Throw bad_alloc for out of memory conditions. * testsuite/ext/throw_allocator/deallocate_global.cc: New. * testsuite/ext/throw_allocator/check_delete.cc: Same. * testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same. * testsuite/ext/throw_allocator/check_deallocate_null.cc: Same. * testsuite/ext/throw_allocator/explicit_instantiation.cc: Same. * testsuite/ext/throw_allocator/check_new.cc: Same. * testsuite/ext/throw_allocator/deallocate_local.cc: Same. From-SVN: r125261
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array_allocator | Loading commit data... | |
| bitmap_allocator | Loading commit data... | |
| codecvt | Loading commit data... | |
| debug_allocator | Loading commit data... | |
| enc_filebuf | Loading commit data... | |
| hash_map | Loading commit data... | |
| hash_set | Loading commit data... | |
| is_heap | Loading commit data... | |
| malloc_allocator | Loading commit data... | |
| mt_allocator | Loading commit data... | |
| new_allocator | Loading commit data... | |
| numeric_traits | Loading commit data... | |
| pb_ds | Loading commit data... | |
| pool_allocator | Loading commit data... | |
| rope | Loading commit data... | |
| slist | Loading commit data... | |
| stdio_filebuf | Loading commit data... | |
| stdio_sync_filebuf | Loading commit data... | |
| throw_allocator | Loading commit data... | |
| type_traits | Loading commit data... | |
| vstring | Loading commit data... | |
| concept_checks.cc | Loading commit data... | |
| headers.cc | Loading commit data... | |
| median.cc | Loading commit data... | |
| pod_char_traits.cc | Loading commit data... |