MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / tie

Method tie

samples/inheritance.cpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 private:
60 template<typename Param>
61 void tie(const chaiscript::Boxed_Value &t_func, Param &t_param)
62 {
63 t_param = chaiscript::boxed_cast<Param>(t_func);
64 }
65
66 std::function<std::string (const ChaiScriptDerived&, float, double)> m_doSomethingImpl;
67 std::function<bool (ChaiScriptDerived&, const std::string &t_val)> m_validateValueImpl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected