gcc/libstdc++-v3/include
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
..
backward run_doxygen: Allow doxygen 1.7.0 again. 2011-02-01 01:31:42 +00:00
bits PR libstdc++/48635 (again) 2011-04-17 21:46:11 +00:00
c PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c_compatibility PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c_global PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c_std PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
debug string (basic_string::insert): Add iterator check and pass normal iterator to normal insert. 2011-02-19 20:51:43 +00:00
decimal PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
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
parallel re PR libstdc++/47433 (libstdc++ parallel mode calls std::swap explicitely) 2011-02-11 10:11:41 +00:00
precompiled
profile re PR libstdc++/47668 (missing 'typename' in debug-mode map) 2011-02-10 00:08:42 +00:00
std re PR libstdc++/48521 ([C++0x] std::result_of doesn't work with pointer to member) 2011-04-19 14:26:08 +01:00
tr1 [multiple changes] 2011-02-12 18:30:50 +00:00
Makefile.am re PR libstdc++/48382 (ctype_noninline.h should not be installed) 2011-03-31 16:06:12 +00:00
Makefile.in re PR libstdc++/48382 (ctype_noninline.h should not be installed) 2011-03-31 16:06:12 +00:00