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

Method SugarIterator

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

Source from the content-addressed store, hash-verified

38 typedef SugarIterator iterator ;
39
40 SugarIterator( const T& ref_ ) :ref(ref_), index(0) {}
41 SugarIterator( const T& ref_, R_xlen_t index_) : ref(ref_), index(index_) {}
42 SugarIterator( const SugarIterator& other) : ref(other.ref), index(other.index){}
43

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected