mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 12:09:40 +08:00
af5fb6ab3b
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 |
||
---|---|---|
.. | ||
allocator_members.cc | ||
auto_ptr_neg.cc | ||
auto_ptr.cc | ||
binders.cc | ||
comparisons.cc | ||
pairs.cc | ||
raw_storage_iterator.cc | ||
temporary_buffer.cc |