MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / CppMethodImplN

Method CppMethodImplN

inst/include/Rcpp/Module.h:381–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 typedef typename Rcpp::traits::remove_const_and_reference<RESULT_TYPE>::type CLEANED_RESULT_TYPE;
380
381 CppMethodImplN(Method m) : method_class(), met(m) {}
382 SEXP operator()(Class* object, SEXP* args) {
383 // Can't pass pointer to member function directly to `call()`, so wrap it in a lambda
384 auto f = [&object, this](T... cpp_args) -> CLEANED_RESULT_TYPE {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected