This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r106432 - in /branches/libstdcxx_so_7-branch/li...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 03 Nov 2005 14:48:08 -0000
- Subject: r106432 - in /branches/libstdcxx_so_7-branch/li...
Author: paolo
Date: Thu Nov 3 14:48:06 2005
New Revision: 106432
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106432
Log:
2005-11-03 Paolo Carlini <pcarlini@suse.de>
* include/ext/sso_string.h (__sso_string<>::_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:
branches/libstdcxx_so_7-branch/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch
branches/libstdcxx_so_7-branch/libstdc++-v3/include/ext/sso_string.h