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
Apparent C++20 compilation failure #1244
Comments
FWIW I have not yet been able to tickle anything on Linux with |
It looks like std::result_of was removed in C++20, so perhaps that's related? I think invoke_result is the modern alternative. https://en.cppreference.com/w/cpp/types/result_of |
A simple fix would be to add yet another branch to use It seems that this was added to support lambda functions in |
(Yes, BDR made that comment too. I added it to the web comment, if you replied to email you didn't see it.) Fully agreed on the need to do this for all *apply functions. |
The package experiencing the issue moved itself from C++20 to C++17. |
Yes. I used C++20 because it has the |
And that of course should not have failed on you. We'll look into it. Errors apparently only come up with clang++(-15) and its own libc++. |
I took care of the compilation issue, turning lambdas on in the *apply functions is more work ... Anyone? |
Ok to the quick patch for now. I currently do not have the time to dig deeper. |
Yes we need to unblock this so once PRed and merged I will put a 1.0.10.2 onto the drat repo. |
Closing this as #1248 is merged. |
Per email forwarded by BDR and originally to @stla the 'new at CRAN' package jack bonks:
The text was updated successfully, but these errors were encountered: