| 46 | typedef typename Rcpp::traits::storage_type<RTYPE>::type STORAGE ; |
| 47 | |
| 48 | SetDiff( const LHS_T& lhs, const RHS_T& rhs) : |
| 49 | lhs_set( get_const_begin(lhs), get_const_end(lhs) ), |
| 50 | rhs_set( get_const_begin(rhs), get_const_end(rhs) ) |
| 51 | { |
| 52 | |
| 53 | std::for_each( rhs_set.begin(), rhs_set.end(), RemoveFromSet<SET>(lhs_set) ) ; |
| 54 | } |
| 55 | |
| 56 | Vector<RTYPE> get() const { |
| 57 | R_xlen_t n = lhs_set.size() ; |
nothing calls this directly
no test coverage detected