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

Class debug_printer

test_visit_struct_intrusive.cpp:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129// debug_print
130
131struct debug_printer {
132 template <typename T>
133 void operator()(const char * name, const T & t) const {
134 std::cout << " " << name << ": " << t << std::endl;
135 }
136};
137
138template <typename T>
139void debug_print(const T & t) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected