| 25 | |
| 26 | template <typename T> |
| 27 | struct myfunc : public exprtk::ifunction<T> |
| 28 | { |
| 29 | using exprtk::ifunction<T>::operator(); |
| 30 | |
| 31 | myfunc() |
| 32 | : exprtk::ifunction<T>(2) |
| 33 | { exprtk::disable_has_side_effects(*this); } |
| 34 | |
| 35 | T operator()(const T& v1, const T& v2) |
| 36 | { |
| 37 | return T(1) + (v1 * v2) / T(3); |
| 38 | } |
| 39 | }; |
| 40 | |
| 41 | template <typename T> |
| 42 | T myotherfunc(T v0, T v1, T v2) |
nothing calls this directly
no outgoing calls
no test coverage detected