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

Function debug_print

test_visit_struct.cpp:186–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184
185template <typename T>
186void debug_print(const T & t) {
187 std::cout << "{\n";
188 visit_struct::apply_visitor(debug_printer{}, t);
189 std::cout << "}" << std::endl;
190}
191
192/***
193 * tests

Callers 1

mainFunction · 0.70

Calls 1

apply_visitorFunction · 0.85

Tested by

no test coverage detected