| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| allocator_members.cc | ||
| auto_ptr.cc | ||
| auto_ptr_neg.cc | ||
| binders.cc | ||
| comparisons.cc | ||
| pairs.cc | ||
| raw_storage_iterator.cc | ||
| temporary_buffer.cc |
2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
Gabriel Dos Reis <gdr@integrable-solutions.net>
PR libstdc++/8230
* include/bits/stl_alloc.h: Use builtin_expect for the most
obvious limit checks.
(__default_alloc_template::allocate): Check for null, throw
bad_alloc.
* include/bits/vector.tcc: Formatting tweaks.
* include/bits/stl_vector.h: Same.
* testsuite/20_util/allocator_members.cc (test02): Add.
* testsuite/23_containers/vector_capacity.cc (test03): Add.
Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r59169
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| allocator_members.cc | Loading commit data... | |
| auto_ptr.cc | Loading commit data... | |
| auto_ptr_neg.cc | Loading commit data... | |
| binders.cc | Loading commit data... | |
| comparisons.cc | Loading commit data... | |
| pairs.cc | Loading commit data... | |
| raw_storage_iterator.cc | Loading commit data... | |
| temporary_buffer.cc | Loading commit data... |