| 37 | typedef typename ::Rcpp::traits::result_of<Function, T>::type result_type ; |
| 38 | |
| 39 | Lapply( const VEC& vec_, Function fun_ ) : |
| 40 | vec(vec_), fun(fun_){} |
| 41 | |
| 42 | inline SEXP operator[]( R_xlen_t i ) const { |
| 43 | return Rcpp::wrap( fun( vec[i] ) ); |
nothing calls this directly
no outgoing calls
no test coverage detected