On 11/12/15 21:43 +, Jonathan Wakely wrote:
Fix std::invoke support for reference_wrappers
PR libstdc++/59768
* include/std/functional (_Unwrap, __invfwd): Define.
(__invoke_impl): Remove reference_wrapper overloads and use __invfwd.
* include/std/type_trai
My attempt to implement LWG 2219 wasn't very good and resulted in
ambiguous overloads for the testcase in PR 59768. This fixes it, and
makes sure that const reference_wrappers can be used too.
Tested powerpc64le-linux, committed to trunk.
commit 9082b4be70fe2e4993ae0c765608fcd8da544bc5
Author: