-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed result_of to invoke_result for C++20 compatibility. #261
base: master
Are you sure you want to change the base?
Conversation
Oh well it did work locally. |
That's because |
Maybe a class could be implemented that chooses either |
That would be an appropriate solution I think.
…On Sat, 28 Nov 2020 at 16:32 Mateusz Kłoczko ***@***.***> wrote:
Maybe a class could be implemented that chooses either result_of or
invoke_result based on C++ version using ifdefs?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#261 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLY3DXCKXW6URXZR2WDOJ3SSEJXLANCNFSM4UFXMUDQ>
.
|
Where could I add such a class? |
@mkloczko One alternative would be to replace all the usages of |
@Warwolt I don't have time to do this myself but what I would do is create a class ( |
Just in case the newer solution is in #269 (couldn't change the source branch). |
Result_of is no longer in C++20.