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

Method set

inst/tinytest/cpp/Module.cpp:64–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62public:
63 ModuleWorld() : msg("hello") {}
64 void set(std::string msg_) { this->msg = msg_; }
65 void set_ref(std::string& msg_) { this->msg = msg_; }
66 void set_const_ref(const std::string& msg_) { this->msg = msg_; }
67 std::string greet() { return msg; }

Callers 1

clearWorldFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected