| 36 | { |
| 37 | public: |
| 38 | ChaiScriptDerived(const std::vector<chaiscript::Boxed_Value> &t_funcs) |
| 39 | { |
| 40 | // using the range-checked .at() methods to give us an exception |
| 41 | // instead of a crash if the user passed in too-few params |
| 42 | tie(t_funcs.at(0), m_doSomethingImpl); |
| 43 | tie(t_funcs.at(1), m_validateValueImpl); |
| 44 | } |
| 45 | |
| 46 | std::string doSomething(float f, double d) const override |
| 47 | { |
nothing calls this directly
no outgoing calls
no test coverage detected