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

Method operator[]

inst/include/Rcpp/vector/Vector.h:338–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336 inline const_iterator cend() const{ return cache.get_const() + size() ; }
337
338 inline Proxy operator[]( R_xlen_t i ){ return cache.ref(i) ; }
339 inline const_Proxy operator[]( R_xlen_t i ) const { return cache.ref(i) ; }
340
341 inline Proxy operator()( const size_t& i) {

Callers

nothing calls this directly

Calls 1

refMethod · 0.45

Tested by

no test coverage detected