Closed dasmysh closed 1 year ago
The problem of std::result_of
being deprecated already came up in this issue and was fixed by that commit.
So there should be no std::result_of
in the whole FunctionalPlus code anymore.
Which version of FunctionalPlus are you using?
Sorry, I should have searched for the issue before reporting. I used the one mentioned in the frugally-deep installation instructions.
Oh, thanks a lot for the remark! :+1:
I just released a new version of FunctionalPlus
and updated the frugally-deep
docs accordingly. :heavy_check_mark:
According to cppreference.com
std::result_of
was deprecated in C++17 and removed in C++20. To make it compile again every occurrence ofstd::result_of
needs to be replaced bystd::invoke_result
.An easy fix for C++17 forward would be:
becomes
but a solution that also works for C++14 is probably preferred.