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

Method set

inst/tinytest/cpp/modref.cpp:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26public:
27 ModRefWorld() : foo(1), msg("hello") {}
28 void set(std::string msg_) { this->msg = msg_; }
29 std::string greet() { return msg; }
30
31 int foo ;

Callers 1

clearWorldFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected