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

Method operator[]

inst/include/Rcpp/sugar/operators/not.h:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 lhs(lhs_), op() {}
84
85 inline STORAGE operator[]( R_xlen_t i ) const {
86 return op.apply( lhs[i] ) ;
87 }
88
89 inline R_xlen_t size() const { return lhs.size() ; }
90

Callers

nothing calls this directly

Calls 1

applyMethod · 0.45

Tested by

no test coverage detected