gcc/libstdc++-v3
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
..
config re PR libstdc++/48465 (undefined reference to std::basic_string::_S_compare(unsigned long, unsigned long)) 2011-04-10 17:20:42 +01:00
doc re PR libstdc++/48382 (ctype_noninline.h should not be installed) 2011-03-31 16:06:12 +00:00
include re PR libstdc++/48521 ([C++0x] std::result_of doesn't work with pointer to member) 2011-04-19 14:26:08 +01:00
libsupc++ exception_ptr.h needs the forward declaration because it's included from... 2011-03-31 23:56:01 +00:00
po
python printers.py (_use_gdb_pp): New global. 2011-03-14 20:29:23 +00:00
scripts * scripts/extract_symvers.pl: Handle NOTY. 2011-04-15 17:03:49 +00:00
src re PR libstdc++/48382 (ctype_noninline.h should not be installed) 2011-03-31 16:06:12 +00:00
testsuite re PR libstdc++/48521 ([C++0x] std::result_of doesn't work with pointer to member) 2011-04-19 14:26:08 +01:00
acinclude.m4
aclocal.m4
ChangeLog re PR libstdc++/48521 ([C++0x] std::result_of doesn't work with pointer to member) 2011-04-19 14:26:08 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
config.h.in
configure re PR libstdc++/48465 (undefined reference to std::basic_string::_S_compare(unsigned long, unsigned long)) 2011-04-10 17:20:42 +01:00
configure.ac re PR libstdc++/48465 (undefined reference to std::basic_string::_S_compare(unsigned long, unsigned long)) 2011-04-10 17:20:42 +01:00
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.