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

Method operator[]

inst/include/Rcpp/vector/ListOf.h:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 // subsetting operators
63
64 ChildVector<T> operator[](R_xlen_t i) {
65 return ChildVector<T>(list[i], list, i);
66 }
67
68 const ChildVector<T> operator[](R_xlen_t i) const {
69 return ChildVector<T>(list[i], list, i);

Callers

nothing calls this directly

Calls 1

findNameMethod · 0.80

Tested by

no test coverage detected