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

Class debug_printer

test_visit_struct_boost_fusion.cpp:150–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148// debug_print
149
150struct debug_printer {
151 template <typename T>
152 void operator()(const char * name, const T & t) const {
153 std::cout << " " << name << ": " << t << std::endl;
154 }
155};
156
157template <typename T>
158void debug_print(const T & t) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected