re PR libstdc++/32907 (Inefficient operator== in std::string)
authorPaolo Carlini <paolo@gcc.gnu.org>
Fri, 27 Jul 2007 17:25:04 +0000 (17:25 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 27 Jul 2007 17:25:04 +0000 (17:25 +0000)
commitbd12160ab85e4a251bfbd28e2db54e191ccce1b6
tree44b5ce6b12e7d56639fbe7683c39b8fc421dae62
parente4142b7c1b884fa2a33c4aaa3f3603c23586de7d
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
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h
libstdc++-v3/include/ext/sso_string_base.h
libstdc++-v3/include/ext/vstring.h