22 #ifndef RCPP_SUGAR_RANGE_H
23 #define RCPP_SUGAR_RANGE_H
31 throw std::range_error(
"upper value must be greater than lower value" ) ;
35 inline R_xlen_t
size()
const{
R_xlen_t operator[](R_xlen_t i) const
Range & operator-=(int n)
Range & operator+=(int n)
Range(R_xlen_t start_, R_xlen_t end__)
R_xlen_t get_start() const