MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / operator()

Method operator()

tests/Issue391.cpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected