| 30 | public: |
| 31 | typedef RESULT_TYPE (*FunPtr)(U1,U2) ; |
| 32 | SugarBlock_2( FunPtr ptr_, const T1 & x_, const T2& y_ ) : |
| 33 | ptr(ptr_), x(x_), y(y_){ |
| 34 | // TODO: check that x and y have same size |
| 35 | } |
| 36 | |
| 37 | inline RESULT_TYPE operator[]( R_xlen_t i) const { |
| 38 | return ptr( x[i], y[i] ) ; |
nothing calls this directly
no outgoing calls
no test coverage detected