gcc/libstdc++-v3/testsuite/30_threads
Jonathan Wakely 164b41ebf3 Do not copy std:call_once arguments (LWG 2442)
* doc/xml/manual/intro.xml: Document LWG 2442 status.
	* include/std/mutex [_GLIBCXX_HAVE_TLS] (__once_call_impl): Remove.
	[_GLIBCXX_HAVE_TLS] (_Once_call): Declare primary template and define
	partial specialization to unpack args and forward to std::invoke.
	(call_once) [_GLIBCXX_HAVE_TLS]: Use forward_as_tuple and _Once_call
	instead of __bind_simple and __once_call_impl.
	(call_once) [!_GLIBCXX_HAVE_TLS]: Use __invoke instead of
	__bind_simple.
	* testsuite/30_threads/call_once/dr2442.cc: New test.

From-SVN: r241031
2016-10-12 12:20:25 +01:00
..
async
call_once Do not copy std:call_once arguments (LWG 2442) 2016-10-12 12:20:25 +01:00
condition_variable
condition_variable_any
future
headers
lock
lock_guard
mutex
once_flag/cons
packaged_task
promise
recursive_mutex
recursive_timed_mutex
shared_future
shared_lock
shared_mutex
shared_timed_mutex
this_thread
thread
timed_mutex
try_lock
unique_lock