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_boost_hana.cpp:128–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
126
127
template <typename T>
128
int struct_cmp(const T & t1, const T & t2) {
129
lex_compare_visitor vis;
130
visit_struct::apply_visitor(vis, t1, t2);
131
return vis.result;
132
}
133
134
// Test types visitation
135
struct types_visitor {
Callers
1
main
Function · 0.70
Calls
1
apply_visitor
Function · 0.85
Tested by
no test coverage detected