gcc/libstdc++-v3/testsuite
Jonathan Wakely 1c3c7c4145 Prevent recursive instantiation in std::function
PR libstdc++/69005
	PR libstdc++/69222
	* include/std/functional (function::_Invoke): Remove, use result_of.
	(function::_Callable): Replace alias template with class template
	and use partial specialization instead of _NotSelf alias template.
	(function(_Functor)): Add "not self" constraint so that _Callable is
	not used while type is incomplete.
	* testsuite/20_util/function/69222.cc: New.

From-SVN: r232273
2016-01-12 14:54:33 +00:00
..
17_intro Update copyright years. 2016-01-04 15:30:50 +01:00
18_support Update copyright years. 2016-01-04 15:30:50 +01:00
19_diagnostics Update copyright years. 2016-01-04 15:30:50 +01:00
20_util Prevent recursive instantiation in std::function 2016-01-12 14:54:33 +00:00
21_strings Remove noexcept from function template that can throw 2016-01-06 20:34:41 +00:00
22_locale Update copyright years. 2016-01-04 15:30:50 +01:00
23_containers Update copyright years. 2016-01-04 15:30:50 +01:00
24_iterators Update copyright years. 2016-01-04 15:30:50 +01:00
25_algorithms Update copyright years. 2016-01-04 15:30:50 +01:00
26_numerics Use -std option in test for C99 macros in <cmath> 2016-01-08 14:59:36 +00:00
27_io Update copyright years. 2016-01-04 15:30:50 +01:00
28_regex Update copyright years. 2016-01-04 15:30:50 +01:00
29_atomics Update copyright years. 2016-01-04 15:30:50 +01:00
30_threads Use std::addressof in insert iterators, allocators and promises 2016-01-07 15:01:33 +00:00
abi Update copyright years. 2016-01-04 15:30:50 +01:00
backward Update copyright years. 2016-01-04 15:30:50 +01:00
config Update copyright years. 2016-01-04 15:30:50 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal Update copyright years. 2016-01-04 15:30:50 +01:00
experimental Update copyright years. 2016-01-04 15:30:50 +01:00
ext Update copyright years. 2016-01-04 15:30:50 +01:00
lib Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-abi Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-dg Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-prettyprinters Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-xmethods Update copyright years. 2016-01-04 15:30:50 +01:00
performance Update copyright years. 2016-01-04 15:30:50 +01:00
tr1 Update copyright years. 2016-01-04 15:30:50 +01:00
tr2 Update copyright years. 2016-01-04 15:30:50 +01:00
util Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00