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

Method SugarBlock_1

inst/include/Rcpp/sugar/block/SugarBlock_1.h:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30public:
31 typedef RESULT_TYPE (*FunPtr)(U1) ;
32 SugarBlock_1( FunPtr ptr_, const T1 & vec_) : ptr(ptr_), vec(vec_){}
33
34 inline RESULT_TYPE operator[]( R_xlen_t i) const {
35 return ptr( vec[i] ) ;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected