Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork219
Closed
Description
Per email forwarded by BDR and originally to@stla the 'new at CRAN' packagejack bonks:
This fails to install with LLVM clang 15.0.7 (current) with libc++ as its
(native) C++ library.../Rcpp/include/Rcpp/sugar/functions/sapply.h:36:19: error: no template named'result_of' in namespace 'std'; did you mean 'traits::result_of'? typedef typename ::std::result_of<Function(typenameSugarExpression::stored_type)>::type type; ^~~~~~~~~~~~~~~~ traits::result_of.../Rcpp/include/Rcpp/traits/result_of.h:30:8: note: 'traits::result_of'declared herestruct result_of{ ^ ```jack 5.0.0 specifies C++20, but std::result_of was removed in that standardhaving been deprecated in C++17 according tohttps://en.cppreference.com/w/cpp/types/result_ofand replaced by invoke_result since C++17.
Metadata
Metadata
Assignees
Labels
No labels