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

Method Cache

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

Source from the content-addressed store, hash-verified

5 typedef double* iterator ;
6
7 Cache( iterator data_) : data(data_){}
8
9 inline proxy ref(int i){ return data[i] ; }
10 inline proxy ref(int i) const { return data[i] ; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected