gcc/libstdc++-v3/testsuite/30_threads
Jonathan Wakely 9a0af7e3fb LWG 2921 remove packaged_task constructors taking allocators
* doc/xml/manual/evolution.xml: Document LWG DR 2921 change.
	* doc/xml/manual/intro.xml: Likewise.
	* include/std/future (__create_task_state): Add default arguments
	to make providing an allocator optional.
	(packaged_task::packaged_task(F&&)): Call __create_task_state directly
	instead of delegating to another constructor.
	(packaged_task::packaged_task(allocator_arg_t, const A&, ...)): Do not
	define allocator-extended constructors for C++17 and later.
	* testsuite/30_threads/packaged_task/cons/alloc.cc: Only run test for
	C++11 and C++14.
	* testsuite/30_threads/packaged_task/cons/alloc2.cc: Likewise.
	* testsuite/30_threads/packaged_task/cons/alloc_min.cc: Likewise.
	* testsuite/30_threads/packaged_task/uses_allocator.cc: Likewise.

From-SVN: r271582
2019-05-23 22:40:56 +01:00
..
async Fix tests that fail in C++2a mode 2019-01-29 00:47:32 +00:00
call_once Update copyright years. 2019-01-01 13:31:55 +01:00
condition_variable Update copyright years. 2019-01-01 13:31:55 +01:00
condition_variable_any Update copyright years. 2019-01-01 13:31:55 +01:00
future Update copyright years. 2019-01-01 13:31:55 +01:00
headers Update copyright years. 2019-01-01 13:31:55 +01:00
lock Update copyright years. 2019-01-01 13:31:55 +01:00
lock_guard Update copyright years. 2019-01-01 13:31:55 +01:00
mutex Update copyright years. 2019-01-01 13:31:55 +01:00
once_flag/cons Update copyright years. 2019-01-01 13:31:55 +01:00
packaged_task LWG 2921 remove packaged_task constructors taking allocators 2019-05-23 22:40:56 +01:00
promise Update copyright years. 2019-01-01 13:31:55 +01:00
recursive_mutex Update copyright years. 2019-01-01 13:31:55 +01:00
recursive_timed_mutex Update copyright years. 2019-01-01 13:31:55 +01:00
scoped_lock Update copyright years. 2019-01-01 13:31:55 +01:00
shared_future Update copyright years. 2019-01-01 13:31:55 +01:00
shared_lock Update copyright years. 2019-01-01 13:31:55 +01:00
shared_mutex Update copyright years. 2019-01-01 13:31:55 +01:00
shared_timed_mutex Update copyright years. 2019-01-01 13:31:55 +01:00
this_thread Update copyright years. 2019-01-01 13:31:55 +01:00
thread PR libstdc++/69724 avoid temporary in std::thread construction 2019-05-14 13:01:15 +01:00
timed_mutex Update copyright years. 2019-01-01 13:31:55 +01:00
try_lock Update copyright years. 2019-01-01 13:31:55 +01:00
unique_lock Update copyright years. 2019-01-01 13:31:55 +01:00