We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381d913 commit 4e2a6b4Copy full SHA for 4e2a6b4
inst/include/Rcpp/InternalFunction.h
@@ -26,7 +26,7 @@
26
27
#include <Rcpp/grow.h>
28
29
-#ifdef RCPP_USE_STD_FUNCTION
+#ifdef RCPP_USING_CXX11
30
#include <Rcpp/InternalFunctionWithStdFunction.h>
31
#endif
32
@@ -37,7 +37,7 @@ namespace Rcpp{
37
38
RCPP_GENERATE_CTOR_ASSIGN(InternalFunction_Impl)
39
40
41
template <typename RESULT_TYPE, typename... Args>
42
InternalFunction_Impl(const std::function<RESULT_TYPE(Args...)> &fun) {
43
set(
inst/unitTests/cpp/InternalFunctionCPP11.cpp
@@ -20,7 +20,6 @@
20
// along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
21
22
23
-#define RCPP_USE_STD_FUNCTION
24
#include <Rcpp.h>
25
0 commit comments