This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r106431 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 03 Nov 2005 13:13:26 -0000
- Subject: r106431 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: paolo
Date: Thu Nov 3 13:13:21 2005
New Revision: 106431
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106431
Log:
2005-11-03 Paolo Carlini <pcarlini@suse.de>
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
Change the various traits_type::copy call to always copy the
entire local buffer; return early and don't do a full swap on
the lengths for two common cases; change two _S_copy to plain
traits_type::copy.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/sso_string_base.h