b6105bf2c3
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 |
||
---|---|---|
.. | ||
pb_assoc | ||
algorithm | ||
array_allocator.h | ||
bitmap_allocator.h | ||
codecvt_specializations.h | ||
debug_allocator.h | ||
functional | ||
hash_fun.h | ||
hash_map | ||
hash_set | ||
hashtable.h | ||
iterator | ||
malloc_allocator.h | ||
memory | ||
mt_allocator.h | ||
new_allocator.h | ||
numeric | ||
pod_char_traits.h | ||
pool_allocator.h | ||
rb_tree | ||
rc_string_base.h | ||
rope | ||
ropeimpl.h | ||
slist | ||
sso_string_base.h | ||
stdio_filebuf.h | ||
stdio_sync_filebuf.h | ||
typelist.h | ||
vstring.h | ||
vstring.tcc | ||
vstring_fwd.h | ||
vstring_util.h |