diff options
author | Paolo Carlini <paolo@gcc.gnu.org> | 2007-07-27 17:25:04 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-07-27 17:25:04 +0000 |
commit | bd12160ab85e4a251bfbd28e2db54e191ccce1b6 (patch) | |
tree | 44b5ce6b12e7d56639fbe7683c39b8fc421dae62 /libstdc++-v3/ChangeLog | |
parent | e4142b7c1b884fa2a33c4aaa3f3603c23586de7d (diff) | |
download | gcc-bd12160ab85e4a251bfbd28e2db54e191ccce1b6.zip gcc-bd12160ab85e4a251bfbd28e2db54e191ccce1b6.tar.gz gcc-bd12160ab85e4a251bfbd28e2db54e191ccce1b6.tar.bz2 |
re PR libstdc++/32907 (Inefficient operator== in std::string)
2007-07-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/32907
* include/bits/basic_string.h (operator==(const basic_string<_CharT>&,
const basic_string<_CharT>&)): Add.
(operator!=): Forward to operator==.
* include/ext/vstring.h(operator==(const __versa_string<_CharT,
std::char_traits<_CharT>, std::allocator<_CharT>, _Base>&,
const __versa_string<_CharT, std::char_traits<_CharT>,
std::allocator<_CharT>, _Base>&)): Add.
(operator!=): Forward to operator==.
* include/ext/sso_string_base.h (_M_compare): Remove.
From-SVN: r126988
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b5d9ce3..b0ab719 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,8 +1,22 @@ +2007-07-27 Paolo Carlini <pcarlini@suse.de> + + PR libstdc++/32907 + * include/bits/basic_string.h (operator==(const basic_string<_CharT>&, + const basic_string<_CharT>&)): Add. + (operator!=): Forward to operator==. + * include/ext/vstring.h(operator==(const __versa_string<_CharT, + std::char_traits<_CharT>, std::allocator<_CharT>, _Base>&, + const __versa_string<_CharT, std::char_traits<_CharT>, + std::allocator<_CharT>, _Base>&)): Add. + (operator!=): Forward to operator==. + + * include/ext/sso_string_base.h (_M_compare): Remove. + 2007-07-25 Stephen M. Webb <stephenw@xandros.com> - Fixed abi_check for missing symbol size changes. - * testsuite/util/testsuite_abi.cc: Changed local variable name to prevent - member variable hiding. + Fixed abi_check for missing symbol size changes. + * testsuite/util/testsuite_abi.cc: Changed local variable name to + prevent member variable hiding. 2007-07-25 John Davind Anglin <dave.anglin@nrc-cnrc.gc.ca> @@ -26,8 +40,10 @@ * testsuite/thread/pthread5.cc: Likewise. * testsuite/thread/pthread6.cc: Likewise. * testsuite/thread/pthread7-rope.cc: Likewise. - * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc: Likewise. - * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. + * testsuite/tr1/2_general_utilities/shared_ptr/thread/ + default_weaktoshared.cc: Likewise. + * testsuite/tr1/2_general_utilities/shared_ptr/thread/ + mutex_weaktoshared.cc: Likewise. 2007-07-16 Danny Smith <dannysmith@users.sourceforge.net> |