| 45 | |
| 46 | template <typename R, typename... Args> |
| 47 | void operator()(std::string_view name, R (T::*ptr)(Args...)) |
| 48 | { |
| 49 | std::cout << "\t" << type_name<R>() << ' ' << name << " = " << std::invoke(ptr, data) << ";\n"; |
| 50 | } |
| 51 | |
| 52 | template <typename R> |
| 53 | void operator()(std::string_view name, R T::*ptr) |
nothing calls this directly
no outgoing calls
no test coverage detected