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

Method operator[]

inst/examples/ConvolveBenchmarks/convolve10_cpp.h:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20 Vec( double* data_ ) : cache(data_){}
21 inline proxy operator[]( int i){ return cache.ref(i) ; }
22 inline proxy operator[]( int i) const { return cache.ref(i) ; }
23
24private:

Callers

nothing calls this directly

Calls 1

refMethod · 0.45

Tested by

no test coverage detected