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 gnu.ver: Add base destructors for stdexcept classes. 2011-03-16 16:05:45 +00:00
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 moveable2.cc: Tweak Copyright years. 2011-03-24 15:57:57 +00:00
22_locale 14220.cc: Don't xfail on sparc*-sun-solaris2.10 && lp64. 2011-03-21 13:38:19 +00:00
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 random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
27_io re PR libstdc++/48566 (libstdc++-v3 testsuite failures due to missing includes) 2011-04-12 09:05:30 +00:00
28_regex default.cc: Do not call members which require a fully established result state. 2011-03-25 22:50:47 +00:00
29_atomics re PR libstdc++/48566 (libstdc++-v3 testsuite failures due to missing includes) 2011-04-12 09:05:30 +00:00
30_threads future (future::share): Add. 2011-03-25 23:16:09 +00:00
abi
backward
config
data
decimal mixed-mode-arith_neg.cc: Rename from mixed-mode_neg.cc 2011-03-18 15:54:32 -04: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
lib prune.exp (prune_gcc_output): Prune "could not create compact unwind for" warnings. 2011-03-21 19:13:05 +00:00
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.am: Make clean fixups. 2011-03-02 23:32:56 +00:00
Makefile.in re PR libstdc++/47145 (configure test for docbook-xsl-ns stylesheets uses hardcoded path) 2011-03-08 00:04:05 +00:00