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

Method operator[]

inst/examples/ConvolveBenchmarks/convolve9_cpp.cpp:34–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33 Vec( double* data_ ) : cache(data_){}
34 inline proxy operator[]( int i){ return cache.ref(i) ; }
35 inline proxy operator[]( int i) const { return cache.ref(i) ; }
36
37private:

Callers

nothing calls this directly

Calls 1

refMethod · 0.45

Tested by

no test coverage detected