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

Method Pointer_CppMethodImplN

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

Source from the content-addressed store, hash-verified

409 typedef typename Rcpp::traits::remove_const_and_reference<RESULT_TYPE>::type CLEANED_RESULT_TYPE;
410
411 Pointer_CppMethodImplN(Method m) : method_class(), met(m) {}
412 SEXP operator()(Class* object, SEXP* args) {
413 // Need to have `object` as the first argument to the function, so wrap it in a lambda
414 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