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

Class test_eq_visitor

test_visit_struct.cpp:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139// Some binary visitors for test
140
141struct test_eq_visitor {
142 bool result = true;
143
144 template <typename T>
145 void operator()(const char *, const T & t1, const T & t2) {
146 result = result && (t1 == t2);
147 }
148};
149
150struct test_pair_visitor {
151 bool result = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected