gcc/libstdc++-v3/testsuite/20_util/function
Jonathan Wakely af181c91a9 Add deduction guides for C++17 (P0433R2, partial)
* include/bits/shared_ptr.h (shared_ptr, weak_ptr): Add deduction
	guides for C++17.
	* include/bits/std_function.h (function): Likewise.
	* include/bits/stl_pair.h (pair): Likewise.
	* include/debug/array (__gnu_debug::array): Likewise.
	* include/std/array (array): Likewise.
	* include/std/functional (make_default_searcher)
	(make_boyer_moore_searcher, make_boyer_moore_horspool_searcher):
	Remove generator functions.
	* include/std/tuple (tuple): Add deduction guides.
	* include/std/valarray (valarray): Likewise.
	* testsuite/20_util/function_objects/searchers.cc: Adjust to use
	class template argument deduction instead of generator functions.
	* testsuite/20_util/function/cons/deduction.cc: New test.
	* testsuite/20_util/optional/cons/deduction_guide.cc: Rename to ...
	* testsuite/20_util/optional/cons/deduction.cc: ... here.
	* testsuite/20_util/pair/cons/deduction.cc: New test.
	* testsuite/20_util/shared_ptr/cons/deduction.cc: New test.
	* testsuite/20_util/tuple/cons/deduction.cc: New test.
	* testsuite/20_util/tuple/element_access/get_neg.cc: Adjust dg-error.
	* testsuite/20_util/unique_ptr/cons/deduction_neg.cc: New test.
	* testsuite/20_util/weak_ptr/cons/deduction.cc: New test.
	* testsuite/23_containers/array/cons/deduction.cc: New test.
	* testsuite/23_containers/array/cons/deduction_neg.cc: New test.
	* testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
	Adjust dg-error.
	* testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise.
	* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
	Likewise.
	* testsuite/26_numerics/valarray/deduction.cc: New test.
	* testsuite/30_threads/lock_guard/cons/deduction.cc: New test.
	* testsuite/30_threads/scoped_lock/cons/deduction.cc: New test.
	* testsuite/30_threads/unique_lock/cons/deduction.cc: New test.

From-SVN: r246389
2017-03-22 15:58:35 +00:00
..
assign Update copyright years. 2017-01-01 13:07:43 +01:00
cmp Update copyright years. 2017-01-01 13:07:43 +01:00
cons Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00
invoke Update copyright years. 2017-01-01 13:07:43 +01:00
requirements Update copyright years. 2017-01-01 13:07:43 +01:00
1.cc Update copyright years. 2017-01-01 13:07:43 +01:00
2.cc Update copyright years. 2017-01-01 13:07:43 +01:00
3.cc Update copyright years. 2017-01-01 13:07:43 +01:00
4.cc Update copyright years. 2017-01-01 13:07:43 +01:00
5.cc Update copyright years. 2017-01-01 13:07:43 +01:00
6.cc PR66284 remove std::function special case for reference_wrapper 2017-01-12 14:28:38 +00:00
7.cc PR66284 remove std::function special case for reference_wrapper 2017-01-12 14:28:38 +00:00
8.cc PR66284 remove std::function special case for reference_wrapper 2017-01-12 14:28:38 +00:00
9.cc Update copyright years. 2017-01-01 13:07:43 +01:00
10.cc Update copyright years. 2017-01-01 13:07:43 +01:00
43397.cc Update copyright years. 2017-01-01 13:07:43 +01:00
48541.cc Update copyright years. 2017-01-01 13:07:43 +01:00
58569.cc Update copyright years. 2017-01-01 13:07:43 +01:00
60594.cc Update copyright years. 2017-01-01 13:07:43 +01:00
63840.cc Update copyright years. 2017-01-01 13:07:43 +01:00
65760.cc Update copyright years. 2017-01-01 13:07:43 +01:00
68995.cc Update copyright years. 2017-01-01 13:07:43 +01:00
69222.cc Update copyright years. 2017-01-01 13:07:43 +01:00
77322.cc Update copyright years. 2017-01-01 13:07:43 +01:00
null_pointer_comparisons.cc Update copyright years. 2017-01-01 13:07:43 +01:00