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

Method apply

inst/include/Rcpp/sugar/logical/or.h:186–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 lhs(lhs_), rhs(rhs_){} ;
185
186 inline void apply(){
187 if( rhs ){
188 BASE::set( TRUE ) ;
189 } else{
190 BASE::set( lhs.get() ) ;
191 }
192 }
193
194private:
195 const LHS_TYPE& lhs ;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected