| 27 | class Range : public VectorBase<INTSXP,false, Range >{ |
| 28 | public: |
| 29 | Range( R_xlen_t start_, R_xlen_t end__ ) : start(start_), end_(end__){ |
| 30 | if( start_ > end__ ){ |
| 31 | throw std::range_error( "upper value must be greater than lower value" ) ; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | inline R_xlen_t size() const{ |
| 36 | return end_ - start + 1; |
nothing calls this directly
no outgoing calls
no test coverage detected