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

Method Factory

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

Source from the content-addressed store, hash-verified

222 class Factory : public Factory_Base<Class> {
223 public:
224 Factory( Class* (*fun)(T...) ) : ptr_fun(fun){}
225 virtual Class* get_new( SEXP* args, int nargs ){
226 return get_new( args, traits::make_index_sequence<sizeof...(T)>() ) ;
227 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected