| 166 | } |
| 167 | |
| 168 | struct MyOtherType { |
| 169 | int data; |
| 170 | friend bool operator==(const MyOtherType &l, const MyOtherType &r) { |
| 171 | return l.data == r.data; |
| 172 | } |
| 173 | }; |
| 174 | |
| 175 | // you also can use a template operator<< if your code does not use std::ostream |
| 176 | template <class OStream> |
nothing calls this directly
no outgoing calls
no test coverage detected