You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using asyncplusplus from a C++20 project and it's failing to compile because std::result_of was removed in C++20. I worked around this problem by replacing std::result_of with std::invoke_result in my fork. You can see the changes here: https://github.com/IanLilleyT/asyncplusplus/commit/1a9cbc504eb675e42524c44f9ecf46973574b257. I opened an issue instead of a PR because I'm not sure if this library wants to include C++17 code in its headers, even if it's behind a macro. Let me know if I should turn this into a PR or not.
I'm using asyncplusplus from a C++20 project and it's failing to compile because std::result_of was removed in C++20. I worked around this problem by replacing
std::result_of
withstd::invoke_result
in my fork. You can see the changes here: https://github.com/IanLilleyT/asyncplusplus/commit/1a9cbc504eb675e42524c44f9ecf46973574b257. I opened an issue instead of a PR because I'm not sure if this library wants to include C++17 code in its headers, even if it's behind a macro. Let me know if I should turn this into a PR or not.The cmake code / comment is partly taken from: https://stackoverflow.com/a/60890947
Thanks for reading!
The text was updated successfully, but these errors were encountered: