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

Method operator-

inst/include/Rcpp/vector/MatrixRow.h:257–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255
256 const_iterator operator+(difference_type n) const { return iterator( row, index + n ) ; }
257 const_iterator operator-(difference_type n) const { return iterator( row, index - n ) ; }
258 difference_type operator-(const const_iterator& other) const { return index - other.index ; }
259
260 const_iterator& operator+=(difference_type n) { index += n ; return *this ;}

Callers

nothing calls this directly

Calls 1

iteratorClass · 0.85

Tested by

no test coverage detected