MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / RangeIndexer

Method RangeIndexer

inst/include/Rcpp/vector/RangeIndexer.h:58–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 typedef typename VECTOR::iterator iterator ;
57
58 RangeIndexer( VECTOR& vec_, const Rcpp::Range& range_) :
59 start(vec_.begin() + range_.get_start() ), size_( range_.size() ) {}
60
61 template <bool NA_, typename T>
62 RangeIndexer& operator=( const Rcpp::VectorBase<RTYPE,NA_,T>& x){

Callers

nothing calls this directly

Calls 3

get_startMethod · 0.80
beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected