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

Method operator+

inst/include/Rcpp/sugar/tools/iterator.h:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 return orig ;
55 }
56 inline iterator operator+(difference_type n) const {
57 return iterator( ref, index+n ) ;
58 }
59 inline iterator operator-(difference_type n) const {
60 return iterator( ref, index-n ) ;
61 }

Callers

nothing calls this directly

Calls 1

iteratorClass · 0.85

Tested by

no test coverage detected