MCPcopy Create free account
hub / github.com/cbeck88/visit_struct / debug_printer

Class debug_printer

test_visit_struct.cpp:178–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176// debug_print
177
178struct debug_printer {
179 template <typename T>
180 void operator()(const char * name, const T & t) const {
181 std::cout << " " << name << ": " << t << std::endl;
182 }
183};
184
185template <typename T>
186void debug_print(const T & t) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected