gcc/libstdc++-v3/testsuite
Jonathan Wakely be7f782278 re PR libstdc++/48521 ([C++0x] std::result_of doesn't work with pointer to member)
2011-04-19  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/48521
	* include/std/type_traits (result_of): Handle pointer to member.
	* include/std/functional (__invoke): Likewise.
	(_Function_to_function_pointer): Remove.
	(_Reference_wrapper_base): Provide nested types independent of
	unary_function and binary_function.
	(reference_wrapper::operator()): DR 2017.
	(ref(const A&&), cref(const A&&): Define as deleted.
	* include/std/future (async): Simplify SFINAE and use result_of to
	support pointer to member.
	* testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to 
	member.
	* testsuite/20_util/reference_wrapper/24803.cc: Likewise.
	* testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
	instead of derivation from unary_function and binary_function.
	* testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
	* testsuite/20_util/reference_wrapper/invoke-2.cc: New.
	* testsuite/20_util/reference_wrapper/ref_neg.c: New.
	* testsuite/20_util/reference_wrapper/typedefs-3.c: New.

From-SVN: r172709
2011-04-19 14:26:08 +01:00
..
17_intro
18_support
19_diagnostics
20_util re PR libstdc++/48521 ([C++0x] std::result_of doesn't work with pointer to member) 2011-04-19 14:26:08 +01:00
21_strings
22_locale
23_containers
24_iterators
25_algorithms moveable.cc: Actually run it in parallel-mode for check-parallel. 2011-04-17 23:15:28 +00:00
26_numerics
27_io re PR libstdc++/48566 (libstdc++-v3 testsuite failures due to missing includes) 2011-04-12 09:05:30 +00:00
28_regex
29_atomics re PR libstdc++/48566 (libstdc++-v3 testsuite failures due to missing includes) 2011-04-12 09:05:30 +00:00
30_threads
abi
backward
config
data
decimal
ext In C++0x mode, import iota and is_sorted from namespace std into namespace __gnu_cxx to avoid ambiguous call errors. 2011-04-07 04:11:12 +00:00
lib
libstdc++-abi
libstdc++-dg
performance
tr1 re PR libstdc++/48566 (libstdc++-v3 testsuite failures due to missing includes) 2011-04-12 09:05:30 +00:00
util type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
Makefile.am
Makefile.in