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

Method FunctionObj

inst/tinytest/cpp/stack.cpp:82–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81struct FunctionObj {
82 FunctionObj(int data_, bool fail_) : data(data_), fail(fail_) { }
83 SEXP operator() () {
84 NumericVector x = maybeThrow(&fail);
85 x[0] = x[0] * data;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected