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

Function struct_eq

test_visit_struct.cpp:163–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161// Interface for binary visitors
162template <typename T>
163bool struct_eq(const T & t1, const T & t2) {
164 test_eq_visitor vis;
165 visit_struct::apply_visitor(vis, t1, t2);
166 return vis.result;
167}
168
169template <typename T>
170bool struct_int_cmp(const T & t1, const T & t2) {

Callers 1

mainFunction · 0.85

Calls 1

apply_visitorFunction · 0.85

Tested by

no test coverage detected