Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
185
template <typename T>
186
void 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
main
Function · 0.70
Calls
1
apply_visitor
Function · 0.85
Tested by
no test coverage detected