Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ operator[]
Method
operator[]
inst/include/Rcpp/sugar/operators/unary_minus.h:97–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
lhs(lhs_), op() {}
96
97
inline RESULT operator[]( R_xlen_t i ) const {
98
return op.apply( lhs[i] ) ;
99
}
100
101
inline R_xlen_t size() const { return lhs.size() ; }
102
Callers
nothing calls this directly
Calls
1
apply
Method · 0.45
Tested by
no test coverage detected