| 45 | typedef typename Rcpp::traits::Extractor< RTYPE, NA, T>::type EXT ; |
| 46 | |
| 47 | Sapply( const VEC& vec_, Function fun_ ) : vec(vec_.get_ref()), fun(fun_){ |
| 48 | RCPP_DEBUG_1( "Sapply With Converter = %s", DEMANGLE(Sapply) ) |
| 49 | RCPP_DEBUG_1( "Sapply Converter = %s", DEMANGLE(converter_type) ) |
| 50 | } |
| 51 | |
| 52 | inline STORAGE operator[]( R_xlen_t i ) const { |
| 53 | STORAGE res = converter_type::get( fun( vec[i] ) ); |
nothing calls this directly
no outgoing calls
no test coverage detected