MCPcopy Create free account
hub / github.com/doctest/doctest / operator==

Function operator==

examples/all_features/stringification.cpp:146–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145template <typename T, typename K>
146bool operator==(const MyType<T, K> &lhs, const MyType<T, K> &rhs) {
147 return lhs.one == rhs.one && lhs.two == rhs.two;
148}
149
150template <typename T, typename K>
151std::ostream &operator<<(std::ostream &stream, const MyType<T, K> &in) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected