gcc/libstdc++-v3/include/bits
Paolo Carlini cc6e67d442 basic_string.tcc (_M_mutate): Do not reallocate unnecessarily when _M_rep() == &_S_empty_rep() and __new_size...
2004-10-18  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_string.tcc (_M_mutate): Do not reallocate
	unnecessarily when _M_rep() == &_S_empty_rep() and __new_size
	== capacity() (== 0): is ok to just leave everything unchanged.

	* include/bits/basic_string.h: Minor formatting fixes.
	* include/bits/basic_string.tcc: Likewise.

From-SVN: r89199
2004-10-18 08:43:17 +00:00
..
allocator.h
atomicity.h
basic_ios.h
basic_ios.tcc basic_ios.tcc (basic_ios<>::copyfmt): Don't deal with _M_word != _M_local_word two times, redundantly. 2004-08-21 08:54:07 +00:00
basic_string.h basic_string.tcc (_M_mutate): Do not reallocate unnecessarily when _M_rep() == &_S_empty_rep() and __new_size... 2004-10-18 08:43:17 +00:00
basic_string.tcc basic_string.tcc (_M_mutate): Do not reallocate unnecessarily when _M_rep() == &_S_empty_rep() and __new_size... 2004-10-18 08:43:17 +00:00
boost_concept_check.h boost_concept_check.h (struct _SequenceConcept): Remove wrong requirement, i.e., not present in Table 67. 2004-09-23 09:13:29 +00:00
c++config Daily bump. 2004-10-18 00:16:46 +00:00
char_traits.h char_traits.h (struct _Char_traits_match): Remove, unused. 2004-08-21 14:40:53 +00:00
codecvt.h
concept_check.h
concurrence.h
cpp_type_traits.h cpp_type_traits.h: Rename __is_trivially_copyable to __is_scalar... 2004-09-14 18:35:21 +00:00
deque.tcc 2832.cc: Remove junk. 2004-08-15 23:08:58 +00:00
fstream.tcc fstream.tcc (xsgetn): Slightly tweak conditional, as per Nathan's original suggestion. 2004-09-17 14:01:18 +00:00
functexcept.h functexcept.h: Add guards. 2004-10-10 21:54:41 +00:00
gslice_array.h
gslice.h
indirect_array.h indirect_array.h: Trivial formatting fixes. 2004-08-16 14:50:31 +00:00
ios_base.h PR libstdc++/7219 (continued) 2004-08-20 21:14:56 +00:00
istream.tcc re PR libstdc++/16715 (std::basic_iostream is instantiated when used, even though instantiations are already contained in libstdc++) 2004-09-02 18:58:34 +00:00
list.tcc list.tcc (operator=): Avoid iterator postincrement. 2004-10-07 22:44:30 +00:00
locale_classes.h
locale_facets.h PR libstdc++/17038 (partial) 2004-08-25 23:38:29 +00:00
locale_facets.tcc locale_facets.tcc (time_get<>::_M_extract_via_format, case 'S'): Allow for at least one leap-second (as per C99... 2004-08-29 09:04:33 +00:00
localefwd.h
mask_array.h
ostream.tcc
postypes.h
slice_array.h
sstream.tcc [multiple changes] 2004-10-06 09:06:59 +00:00
stl_algo.h [multiple changes] 2004-10-06 09:06:59 +00:00
stl_algobase.h stl_algobase.h (iter_swap): delegate to swap via __iter_swap when iterator's value_types are equal. 2004-10-05 10:28:17 +00:00
stl_bvector.h stl_bvector.h: Trivial formatting fixes. 2004-08-09 13:51:33 +00:00
stl_construct.h
stl_deque.h re PR libstdc++/17937 (Critical ~__pool troubles) 2004-10-12 01:10:39 +00:00
stl_function.h
stl_heap.h
stl_iterator_base_funcs.h
stl_iterator_base_types.h
stl_iterator.h
stl_list.h stl_list.h: Trivial formatting fixes. 2004-10-03 15:50:32 +00:00
stl_map.h
stl_multimap.h
stl_multiset.h
stl_numeric.h
stl_pair.h
stl_queue.h
stl_raw_storage_iter.h
stl_relops.h
stl_set.h
stl_stack.h
stl_tempbuf.h
stl_tree.h [multiple changes] 2004-10-13 00:11:14 +00:00
stl_uninitialized.h
stl_vector.h
stream_iterator.h
streambuf_iterator.h
streambuf.tcc
stringfwd.h
type_traits.h
valarray_after.h indirect_array.h: Trivial formatting fixes. 2004-08-16 14:50:31 +00:00
valarray_array.h indirect_array.h: Trivial formatting fixes. 2004-08-16 14:50:31 +00:00
valarray_array.tcc
valarray_before.h
vector.tcc