Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ operator==
Method
operator==
tests/test_operator_overloading.cpp:252–252 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
250
struct Comparable {
251
int value;
252
bool operator==(const Comparable &rhs) const { return value == rhs.value; }
253
};
254
255
struct Hashable : Comparable {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected