gcc/libstdc++-v3/include
Paolo Carlini 251804e635 basic_string.tcc (insert(size_type, const _CharT*, size_type __n)): Fix length_error check.
2004-01-23  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_string.tcc (insert(size_type,
	const _CharT*, size_type __n)): Fix length_error check.
	(replace(size_type, size_type, const _CharT*, size_type):
	Ditto; call _M_replace_safe.
	(_M_replace_aux(size_type, size_type, size_type, _CharT):
	Fix length_error check.
	(_M_replace(iterator, iterator, _InputIterator,
	_InputIterator)): Ditto, tweak.
	(_M_replace_safe(size_type, size_type, const _CharT*,
	size_type)): Remove length_error check.

	* include/bits/basic_string.tcc (append(const basic_string&),
	append(const basic_string&, size_type, size_type)): Tweak
	comment.

	* include/bits/basic_string.tcc (copy(_CharT*, size_type,
	size_type)): If __n == 0 don't call traits::copy.

From-SVN: r76476
2004-01-24 00:27:19 +00:00
..
backward new_allocator.h (new_allocator): Proper allocator class. 2003-12-23 07:24:57 +00:00
bits basic_string.tcc (insert(size_type, const _CharT*, size_type __n)): Fix length_error check. 2004-01-24 00:27:19 +00:00
c std_cctype.h, [...]: Remove trailing whitespace. 2003-12-09 04:41:52 +01:00
c_compatibility iso646.h, [...]: Remove trailing whitespace. 2003-12-09 04:51:46 +01:00
c_std acconfig.h: Add _GLIBCXX_USE_C99_MATH. 2003-12-29 19:26:16 +00:00
debug bitset, [...]: Remove trailing whitespace. 2003-12-09 05:26:28 +01:00
ext mt_allocator.h: Reduce lock contention. 2004-01-24 00:21:02 +00:00
std std_complex.h (std::complex<>::real): Return a reference. 2004-01-11 16:15:42 +00:00
Makefile.am re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2003-12-15 21:08:03 +00:00
Makefile.in acconfig.h: Add _GLIBCXX_USE_C99_MATH. 2003-12-29 19:26:16 +00:00
stdc++.h stdc++.h: New. 2003-03-14 22:16:06 +00:00