aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2005-12-11 00:41:29 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2005-12-11 00:41:29 +0000
commitb6105bf2c397ba0aba21454a17e013974e0fe657 (patch)
tree6f2dff5fbecaa3fc1d3a8fbc15ad8d28758c8d84 /libiberty
parent42e25796b5a0f59d44e06c4e0a8e1c203b953fbc (diff)
downloadgcc-b6105bf2c397ba0aba21454a17e013974e0fe657.zip
gcc-b6105bf2c397ba0aba21454a17e013974e0fe657.tar.gz
gcc-b6105bf2c397ba0aba21454a17e013974e0fe657.tar.bz2
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
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions