| 161 | // Interface for binary visitors |
| 162 | template <typename T> |
| 163 | bool 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 | |
| 169 | template <typename T> |
| 170 | bool struct_int_cmp(const T & t1, const T & t2) { |