This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/32907] Inefficient operator== in std::string



------- Comment #3 from paolo at gcc dot gnu dot org  2007-07-27 17:25 -------
Subject: Bug 32907

Author: paolo
Date: Fri Jul 27 17:25:04 2007
New Revision: 126988

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126988
Log:
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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/basic_string.h
    trunk/libstdc++-v3/include/ext/sso_string_base.h
    trunk/libstdc++-v3/include/ext/vstring.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32907


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]