mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 13:04:20 +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 |
||
---|---|---|
.. | ||
basic_ios.h | ||
basic_ios.tcc | ||
basic_string.h | ||
basic_string.tcc | ||
boost_concept_check.h | ||
c++config | ||
char_traits.h | ||
codecvt.h | ||
concept_check.h | ||
cpp_type_traits.h | ||
deque.tcc | ||
fpos.h | ||
fstream.tcc | ||
functexcept.h | ||
gslice_array.h | ||
gslice.h | ||
indirect_array.h | ||
ios_base.h | ||
istream.tcc | ||
list.tcc | ||
locale_facets.h | ||
locale_facets.tcc | ||
localefwd.h | ||
mask_array.h | ||
ostream.tcc | ||
pthread_allocimpl.h | ||
slice_array.h | ||
sstream.tcc | ||
stl_algo.h | ||
stl_algobase.h | ||
stl_alloc.h | ||
stl_bvector.h | ||
stl_construct.h | ||
stl_deque.h | ||
stl_function.h | ||
stl_heap.h | ||
stl_iterator_base_funcs.h | ||
stl_iterator_base_types.h | ||
stl_iterator.h | ||
stl_list.h | ||
stl_map.h | ||
stl_multimap.h | ||
stl_multiset.h | ||
stl_numeric.h | ||
stl_pair.h | ||
stl_pthread_alloc.h | ||
stl_queue.h | ||
stl_raw_storage_iter.h | ||
stl_relops.h | ||
stl_set.h | ||
stl_stack.h | ||
stl_tempbuf.h | ||
stl_threads.h | ||
stl_tree.h | ||
stl_uninitialized.h | ||
stl_vector.h | ||
stream_iterator.h | ||
streambuf_iterator.h | ||
streambuf.tcc | ||
stringfwd.h | ||
type_traits.h | ||
valarray_array.h | ||
valarray_array.tcc | ||
valarray_meta.h | ||
vector.tcc |