MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / operator+

Method operator+

inst/include/Rcpp/sugar/Range.h:73–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 Range operator+( int n ){
74 return Range( start + n, end_ + n ) ;
75 }
76
77 Range operator-( int n ){
78 return Range( start - n, end_ - n ) ;

Callers

nothing calls this directly

Calls 1

RangeClass · 0.70

Tested by

no test coverage detected