gcc/libstdc++-v3/include/bits
Paolo Carlini dcc61724f1 re PR libstdc++/4548 (When reserving a string to become smaller, program crashes)
2001-11-21  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/4548
	* include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
	below the current size.
	* testsuite/21_strings/capacity.cc (test02):  Add test.

From-SVN: r47246
2001-11-21 22:04:53 +00:00
..
basic_file.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
basic_ios.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
basic_ios.tcc
basic_string.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
basic_string.tcc re PR libstdc++/4548 (When reserving a string to become smaller, program crashes) 2001-11-21 22:04:53 +00:00
boost_concept_check.h acconfig.h: Update comments. 2001-11-02 22:31:03 +00:00
c++config Daily bump. 2001-11-21 08:16:23 +00:00
char_traits.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
codecvt.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
concept_check.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
cpp_type_traits.h acconfig.h: Update comments. 2001-11-02 22:31:03 +00:00
fpos.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
fstream.tcc fstream.tcc (filebuf::showmanyc): Simplify. 2001-10-29 19:29:29 +00:00
functexcept.h
generic_shadow.h
gslice_array.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
gslice.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
indirect_array.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
ios_base.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
istream.tcc [multiple changes] 2001-10-26 05:32:06 +00:00
locale_facets.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
locale_facets.tcc ios_manip_fmtflags.cc: Fix for non-interactive output. 2001-11-02 03:48:09 +00:00
localefwd.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
mask_array.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
ostream.tcc [multiple changes] 2001-10-26 05:32:06 +00:00
pthread_allocimpl.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
slice_array.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
slice.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
sstream.tcc
std_algorithm.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_bitset.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_complex.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_deque.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_fstream.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_functional.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_iomanip.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_ios.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_iosfwd.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_iostream.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_istream.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_iterator.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_limits.h acconfig.h: Update comments. 2001-11-02 22:31:03 +00:00
std_list.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_locale.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_map.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_memory.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_numeric.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_ostream.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_queue.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_set.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_sstream.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_stack.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_stdexcept.h
std_streambuf.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_string.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_utility.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_valarray.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
std_vector.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_algo.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_algobase.h Intro.3: More notes. 2001-11-20 00:51:37 +00:00
stl_alloc.h stl_alloc.h (alloc): Update to use __mem_interface. 2001-11-15 08:52:23 +00:00
stl_bvector.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_construct.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_deque.h stl_deque.h (deque::erase()): Fix memory leak. 2001-11-16 21:00:59 +00:00
stl_function.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_heap.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_iterator_base_funcs.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_iterator_base_types.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_iterator.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_list.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_map.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_multimap.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_multiset.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_numeric.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_pair.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_pthread_alloc.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_queue.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_raw_storage_iter.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_relops.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_set.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_stack.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_tempbuf.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_threads.h stl_threads.h (_Atomic_swap): Only enable path when platform supports __GTHREAD_MUTEX_INIT. 2001-11-02 22:59:46 +00:00
stl_tree.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_uninitialized.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stl_vector.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
stream_iterator.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
streambuf_iterator.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
streambuf.tcc [multiple changes] 2001-10-26 05:32:06 +00:00
stringfwd.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
type_traits.h acconfig.h: Update comments. 2001-11-02 22:31:03 +00:00
valarray_array.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00
valarray_array.tcc
valarray_meta.h c_io_stdio.h: Correct grammar in comments. 2001-11-02 17:38:11 +00:00