Re: [PATCH] Define std::__invoke_r for INVOKE

2019-05-17 Thread Jonathan Wakely
On 17/05/19 10:15 +0100, Jonathan Wakely wrote: I'm testing the attached fix. Thanks for the report. Tests passed, patch committed to trunk. commit 6ae6283255f58ad44a159970dce6f431cf46f293 Author: Jonathan Wakely Date: Fri May 17 10:10:10 2019 +0100 Fix __invoke_r to be valid in C++11

Re: [PATCH] Define std::__invoke_r for INVOKE

2019-05-17 Thread Jonathan Wakely
On 17/05/19 10:49 +0200, Stephan Bergmann wrote: On 14/05/2019 17:25, Jonathan Wakely wrote: * include/bits/invoke.h (__invoke_r): Define new function implementing the INVOKE pseudo-function. * testsuite/20_util/function_objects/invoke/1.cc: Add more tests. * testsuite/20_util/fu

Re: [PATCH] Define std::__invoke_r for INVOKE

2019-05-17 Thread Stephan Bergmann
On 14/05/2019 17:25, Jonathan Wakely wrote: * include/bits/invoke.h (__invoke_r): Define new function implementing the INVOKE pseudo-function. * testsuite/20_util/function_objects/invoke/1.cc: Add more tests. * testsuite/20_util/function_objects/invoke/2.cc: New test. Tested

[PATCH] Define std::__invoke_r for INVOKE

2019-05-14 Thread Jonathan Wakely
* include/bits/invoke.h (__invoke_r): Define new function implementing the INVOKE pseudo-function. * testsuite/20_util/function_objects/invoke/1.cc: Add more tests. * testsuite/20_util/function_objects/invoke/2.cc: New test. Tested powerpc64le-linux, committed to t