Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cbeck88/visit_struct
/ struct_cmp
Function
struct_cmp
test_visit_struct_intrusive.cpp:123–127 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
121
122
template <typename T>
123
int struct_cmp(const T & t1, const T & t2) {
124
lex_compare_visitor vis;
125
visit_struct::apply_visitor(vis, t1, t2);
126
return vis.result;
127
}
128
129
// debug_print
130
Callers
1
main
Function · 0.70
Calls
1
apply_visitor
Function · 0.85
Tested by
no test coverage detected