MCPcopy Create free account
hub / github.com/doctest/doctest / MyOtherType

Class MyOtherType

examples/all_features/stringification.cpp:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168struct 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
176template <class OStream>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected