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

Class test_pair_visitor

test_visit_struct.cpp:150–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148};
149
150struct test_pair_visitor {
151 bool result = false;
152
153 template <typename T>
154 void operator()(const char *, const T &, const T &) {}
155
156 void operator()(const char *, const int & x, const int & y) {
157 result = result || (x > y);
158 }
159};
160
161// Interface for binary visitors
162template <typename T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected