gcc/libstdc++-v3/include
Jonathan Wakely 93e954005f Implement C++17 std::invoke and LWG DR 2219
* include/std/functional (__invoke_impl): New overloads.
	(__invoke): Replace with a single function calling __invoke_impl.
	(invoke): Add C++17 std::invoke.
	(reference_wrapper::operator()): Qualify call to __invoke.
	(_Mem_fn_traits_base, _Mem_fn_traits): Remove unused typedefs.
	(_Mem_fn_base): Remove unused typedefs and implement call operator in
	terms of __invoke.
	* include/std/future (__future_base::_Async_state_commonV2): Do not
	pass reference_wrapper as object argument to call_once.
	* include/std/type_traits (result_of): Define nested __invoke_type.
	Handle reference_wrapper as per LWG 2219.
	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error directives.
	* testsuite/20_util/function_objects/mem_fn/55463.cc: Remove tests
	using member functions of reference_wrapper.

From-SVN: r229290
2015-10-25 01:00:54 +01:00
..
backward Enable lightweight checks with _GLIBCXX_ASSERTIONS. 2015-09-09 18:12:47 +01:00
bits Use noexcept instead of _GLIBCXX_NOEXCEPT 2015-10-02 23:13:12 +01:00
c Add C++11 header <cuchar>. 2015-09-04 12:13:34 +01:00
c_compatibility Add C++11 header <cuchar>. 2015-09-04 12:13:34 +01:00
c_global Add C++11 header <cuchar>. 2015-09-04 12:13:34 +01:00
c_std Add C++11 header <cuchar>. 2015-09-04 12:13:34 +01:00
debug 2015-09-17 François Dumont <fdumont@gcc.gnu.org> 2015-09-17 19:23:26 +00:00
decimal Update copyright years. 2015-01-05 13:33:28 +01:00
experimental Add include/experimental/bits dir 2015-10-09 12:11:54 +01:00
ext opt_random.h: Include pmmintrin.h instead of x86intrin.h, and only do so when __SSE3__ 2015-10-13 20:55:44 +00:00
parallel Update copyright years. 2015-01-05 13:33:28 +01:00
precompiled Fix errors due to extra includes in extc++.h 2015-09-18 12:21:05 +01:00
profile c++config (_GLIBCXX_NOEXCEPT_IF): Define. 2015-07-13 18:15:48 +01:00
std Implement C++17 std::invoke and LWG DR 2219 2015-10-25 01:00:54 +01:00
tr1 Use atomics in guard.cc. 2015-06-12 09:49:41 +00:00
tr2 Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.am Add include/experimental/bits dir 2015-10-09 12:11:54 +01:00
Makefile.in Add include/experimental/bits dir 2015-10-09 12:11:54 +01:00