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

Method operator!=

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

Source from the content-addressed store, hash-verified

89
90 bool operator==(const Vector2 &v) const { return x == v.x && y == v.y; }
91 bool operator!=(const Vector2 &v) const { return x != v.x || y != v.y; }
92
93private:
94 float x, y;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected