This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r155788 - in /trunk/libstdc++-v3: ChangeLog con...


Author: paolo
Date: Sun Jan 10 13:38:47 2010
New Revision: 155788

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155788
Log:
2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/basic_string.h (basic_string<>::
	basic_string(basic_string&&), operator=(basic_string&&),
	assign(basic_string&&)): Add.
	* config/abi/pre/gnu.ver: Export new symbols.
	* include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
	Add.
	(operator=(__versa_string&&)): Don't call clear unnecessarily.
	* include/ext/rc_string_base.h (__rc_string_base<>::
	__rc_string_base(__rc_string_base&&)): Simplify a tad.
	* testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
	* testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
	* testsuite/ext/vstring/assign/move_assign.cc: Likewise.
	* testsuite/21_strings/basic_string/assign/char/move_assign.cc:
	Likewise.
	* testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
	Likewise.

Added:
    trunk/libstdc++-v3/testsuite/21_strings/basic_string/assign/char/move_assign.cc
    trunk/libstdc++-v3/testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc
    trunk/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/moveable.cc
    trunk/libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc
    trunk/libstdc++-v3/testsuite/ext/vstring/assign/
    trunk/libstdc++-v3/testsuite/ext/vstring/assign/move_assign.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/config/abi/pre/gnu.ver
    trunk/libstdc++-v3/include/bits/basic_string.h
    trunk/libstdc++-v3/include/ext/rc_string_base.h
    trunk/libstdc++-v3/include/ext/vstring.h
    trunk/libstdc++-v3/testsuite/ext/vstring/cons/moveable.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]