MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator==

Function operator==

tests/test_operator_overloading.cpp:109–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107};
108
109bool operator==(const HashMe &lhs, const HashMe &rhs) { return lhs.member == rhs.member; }
110
111// Note: Specializing explicit within `namespace std { ... }` is done due to a
112// bug in GCC<7. If you are supporting compilers later than this, consider

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected