-
- Downloads
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
Showing
- libstdc++-v3/ChangeLog 13 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/ext/rc_string_base.h 26 additions, 0 deletionslibstdc++-v3/include/ext/rc_string_base.h
- libstdc++-v3/include/ext/sso_string_base.h 29 additions, 3 deletionslibstdc++-v3/include/ext/sso_string_base.h
- libstdc++-v3/include/ext/vstring.h 3 additions, 0 deletionslibstdc++-v3/include/ext/vstring.h
Loading
Please register or sign in to comment