gcc/libstdc++-v3/testsuite/20_util
Jonathan Wakely ec903a9c42 functional (function::function): Move construct target.
2009-12-15  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/std/functional (function::function): Move construct target.
	(function::operator=): Use perfect forwarding for argument.
	(function::operator()): Use new __throw_bad_function_call.
	* include/bits/functexcept.h (__throw_bad_function_call): Declare.
	* src/functexcept.cc (__throw_bad_function_call): Define.
	* config/abi/pre/gnu.ver: Add new symbol.
	* testsuite/20_util/function/cons/move_target.cc: New.
	* testsuite/20_util/function/assign/move_target.cc: New.

From-SVN: r155261
2009-12-15 17:42:47 +00:00
..
add_lvalue_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
add_rvalue_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
aligned_storage Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
allocator Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
auto_ptr Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bad_function_call Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bind ref.cc: Add. 2009-12-03 10:18:04 +00:00
clocks Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
common_type/requirements type_traits (declval): Add, per DR 1255. 2009-11-13 02:25:12 +00:00
conditional/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
decay/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
declval/requirements type_traits (declval): Add, per DR 1255. 2009-11-13 02:25:12 +00:00
duration chrono (struct __common_rep_type): New. 2009-11-01 00:35:40 +00:00
enable_if/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
enable_shared_from_this/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
forward forward_list.h (splice_after): Use forward. 2009-07-31 22:26:32 -04:00
function functional (function::function): Move construct target. 2009-12-15 17:42:47 +00:00
function_objects Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
has_nothrow_copy_constructor Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
has_nothrow_default_constructor Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
has_trivial_copy_constructor Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
has_trivial_default_constructor Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
hash Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
headers Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
identity Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_convertible type_traits (__is_int_or_cref): Remove. 2009-10-29 23:23:29 +00:00
is_integral Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_lvalue_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_rvalue_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_signed Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_unsigned Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
make_signed/requirements type_traits (declval): Add, per DR 1255. 2009-11-13 02:25:12 +00:00
make_unsigned/requirements type_traits (declval): Add, per DR 1255. 2009-11-13 02:25:12 +00:00
move Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
owner_less shared_ptr.h: Do not swap rvalues. 2009-06-23 23:33:17 +01:00
pair PR libstdc++/40925 (again) 2009-10-30 02:29:14 +00:00
ratio Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
raw_storage_iterator/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
reference_wrapper Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
remove_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
shared_ptr re PR libstdc++/42019 (shared_ptr can not be used with -fno-rtti) 2009-11-20 21:23:02 +00:00
specialized_algorithms testsuite_rvalref.h: Remove obsolete macro using _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING. 2009-09-01 10:19:11 +00:00
time_point Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tuple re PR libstdc++/41530 ([c++0x] Cannot move-construct std::tuple from a different type of std::tuple) 2009-10-05 17:56:02 +00:00
unique_ptr re PR c++/39866 ([c++0x] deleted functions not removed from "no match" error messages) 2009-10-14 02:27:50 -04:00
weak_ptr shared_ptr.h: Do not swap rvalues. 2009-06-23 23:33:17 +01:00
rel_ops.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
temporary_buffer.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00