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

Method get_new

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

Source from the content-addressed store, hash-verified

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 }
228 virtual int nargs(){ return sizeof...(T) ; }
229 virtual void signature(std::string& s, const std::string& class_name ){
230 ctor_signature<T...>(s, class_name) ;

Callers 1

newInstanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected