gcc/libstdc++-v3/include/bits
Paolo Carlini 10154e0d52 basic_string.h (basic_string<>:: basic_string(basic_string&&), [...]): Add.
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.

From-SVN: r155788
2010-01-10 13:38:47 +00:00
..
algorithmfwd.h PR libstdc++/25304, DR 865 [Ready] 2009-12-15 00:07:52 +00:00
allocator.h re PR libstdc++/42573 ([C++0x] shrink_to_fit() missing) 2010-01-08 13:01:24 +00:00
atomic_0.h atomic: Update to N3000. 2009-12-21 19:00:34 +00:00
atomic_2.h atomic: Update to N3000. 2009-12-21 19:00:34 +00:00
atomic_base.h atomic: Update to N3000. 2009-12-21 19:00:34 +00:00
atomicfwd_c.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
atomicfwd_cxx.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
basic_ios.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
basic_ios.tcc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
basic_string.h basic_string.h (basic_string<>:: basic_string(basic_string&&), [...]): Add. 2010-01-10 13:38:47 +00:00
basic_string.tcc re PR libstdc++/41773 (Many libstdc++ failures) 2009-10-20 21:54:22 +00:00
boost_concept_check.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
c++config configure.ac (USE_CYGWIN_LIBSTDCXX_WRAPPERS): Define to reflect status of AC_CHECK_FUNC for Cygwin DLL libstdc++ support wrappers. 2009-11-30 23:22:04 +00:00
char_traits.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
codecvt.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
concept_check.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cpp_type_traits.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
deque.tcc stl_deque.h (copy_backward(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...]): Declare. 2009-12-24 12:47:37 +00:00
forward_list.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
forward_list.tcc forward_list.h (forward_list<>::erase_after): Change signature per N2988, return void; simplify. 2009-11-13 22:41:49 +00:00
fstream.tcc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
functexcept.h functional (function::function): Move construct target. 2009-12-15 17:42:47 +00:00
functional_hash.h re PR libstdc++/41622 ([DR 1245] [c++0x] std::hash<std::string>::operator() copies its argument) 2009-11-19 16:55:25 +00:00
gslice_array.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gslice.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
hashtable.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
indirect_array.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ios_base.h condition_variable.cc (condition_variable, [...]): Mark throw() 2009-04-18 21:19:18 +00:00
istream.tcc revert: compatibility.cc: Make C++0x safe, add in explicit casts to bool for stream sentry objects. 2009-09-05 00:18:07 +00:00
list.tcc stl_list.h (splice(iterator, list&), [...]): Re-add in C++0x mode for backward compatibility (see DR 1133). 2009-12-14 10:26:09 +00:00
locale_classes.h re PR libstdc++/40184 (locale(const char* std_name) can create invalid facets for nonuniform locale) 2009-05-19 18:20:47 +00:00
locale_classes.tcc condition_variable.cc (condition_variable, [...]): Mark throw() 2009-04-18 21:19:18 +00:00
locale_facets_nonio.h re PR libstdc++/38081 (time_get<>::do_get_weekday does not always recognize full names of weekdays) 2010-01-05 20:05:20 +00:00
locale_facets_nonio.tcc locale_facets_nonio.tcc (time_put<>::do_put): Avoid pointless __builtin_alloca use. 2010-01-07 17:20:45 +00:00
locale_facets.h condition_variable.cc (condition_variable, [...]): Mark throw() 2009-04-18 21:19:18 +00:00
locale_facets.tcc re PR libstdc++/40712 (locale(const locale&, const char*, locale::category) can create broken locale) 2009-07-18 22:58:10 +00:00
localefwd.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
mask_array.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
move.h type_traits (declval): Add, per DR 1255. 2009-11-13 02:25:12 +00:00
ostream_insert.h revert: compatibility.cc: Make C++0x safe, add in explicit casts to bool for stream sentry objects. 2009-09-05 00:18:07 +00:00
ostream.tcc revert: compatibility.cc: Make C++0x safe, add in explicit casts to bool for stream sentry objects. 2009-09-05 00:18:07 +00:00
postypes.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
random.h random.h: Fix equation in comment of Weibull distro. 2009-12-30 02:08:23 +00:00
random.tcc random.tcc: Define static const data members. 2009-09-30 00:50:24 +00:00
shared_ptr_base.h re PR libstdc++/42019 (shared_ptr can not be used with -fno-rtti) 2009-11-20 21:23:02 +00:00
shared_ptr.h re PR libstdc++/42019 (shared_ptr can not be used with -fno-rtti) 2009-11-20 21:23:02 +00:00
slice_array.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
sstream.tcc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stl_algo.h PR libstdc++/25304, DR 865 [Ready] 2009-12-15 00:07:52 +00:00
stl_algobase.h PR libstdc++/25304, DR 865 [Ready] 2009-12-15 00:07:52 +00:00
stl_bvector.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
stl_construct.h stl_construct.h: Include <bits/move.h>. 2009-08-29 19:35:21 +00:00
stl_deque.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
stl_function.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stl_heap.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stl_iterator_base_funcs.h stl_iterator_base_funcs.h: (next): Change template parameter name consistently with the resolution of DR... 2009-10-28 13:07:00 +00:00
stl_iterator_base_types.h user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
stl_iterator.h stl_iterator.h.: Fix typo in comment. 2009-12-30 10:34:41 +00:00
stl_list.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
stl_map.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
stl_multimap.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
stl_multiset.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
stl_numeric.h PR libstdc++/22634, DR 539 [Ready] 2009-12-11 17:54:37 +00:00
stl_pair.h stl_pair.h (pair<>::pair(_U1&&, const _T2&), [...]): Use std::is_constructible instead of std::is_convertible. 2010-01-03 12:06:59 +00:00
stl_queue.h stl_pair.h (swap): Do not swap rvalues. 2009-05-18 23:15:56 +01:00
stl_raw_storage_iter.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stl_relops.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stl_set.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
stl_stack.h stl_pair.h (swap): Do not swap rvalues. 2009-05-18 23:15:56 +01:00
stl_tempbuf.h user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
stl_tree.h stl_tree.h: Make erase return iterator as per DR 130. 2009-08-14 17:54:44 +00:00
stl_uninitialized.h 2009-09-02 Paolo Carlini <paolo.carlini@oracle.com> 2009-09-02 14:49:58 +00:00
stl_vector.h set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. 2010-01-09 11:16:42 +00:00
stream_iterator.h user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
streambuf_iterator.h user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
streambuf.tcc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stringfwd.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unique_ptr.h functional (function): Use explicit operator bool. 2009-05-21 01:12:00 +00:00
valarray_after.h re PR libstdc++/40691 (bug in logical not operator for valarray used with slice) 2009-07-08 22:26:50 +00:00
valarray_array.h re PR libstdc++/41763 (valarray_array.h seems to overuse __restrict__) 2009-10-20 21:21:11 +00:00
valarray_array.tcc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
valarray_before.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
vector.tcc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00