MCPcopy 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
127template <typename T>
128int 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
135struct types_visitor {

Callers 1

mainFunction · 0.70

Calls 1

apply_visitorFunction · 0.85

Tested by

no test coverage detected