gcc/libstdc++-v3/include
Paolo Carlini b6105bf2c3 sso_string_base.h (__sso_string_base<>::_M_compare): Add...
2005-12-10  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
	Add, specialized for char and wchar_t to immediately return true
	when a string is compared to itself.
	* include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
	Likewise, for the same _Rep.
	* include/ext/vstring.h (compare(const string&)): Use it.

	* include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
	Deallocate passed size + 1.
	(_M_dispose, _M_reserve): Adjust.

From-SVN: r108372
2005-12-11 00:41:29 +00:00
..
backward All files: Update FSF address. 2005-08-17 02:28:44 +00:00
bits re PR libstdc++/25288 (std::list insert members should have no effects if an exception is thrown) 2005-12-09 18:24:53 +00:00
c All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c_compatibility All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c_std re PR libstdc++/20213 (cassert header documentation wrong) 2005-10-30 22:21:50 +00:00
debug basic_string.h (insert(iterator, _CharT), [...]): Avoid troubles with ADL, user defined operators and __normal_iterator. 2005-12-06 17:19:30 +00:00
ext sso_string_base.h (__sso_string_base<>::_M_compare): Add... 2005-12-11 00:41:29 +00:00
std re PR libstdc++/23875 (operator<<(short) should not call operator<<(long), etc.) 2005-09-15 17:27:23 +00:00
tr1 [multiple changes] 2005-11-13 12:14:51 +00:00
Makefile.am re PR libstdc++/22203 (std::numeric_limits<int>::traps is wrong on PPC) 2005-11-05 09:42:01 +00:00
Makefile.in re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
stdc++.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00