MCPcopy Create free account
hub / github.com/Snapchat/djinni / operator==

Function operator==

test-suite/generated-src/cpp/vec2.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9bool operator==(const Vec2& lhs, const Vec2& rhs) {
10 return lhs.x == rhs.x &&
11 lhs.y == rhs.y;
12}
13
14bool operator!=(const Vec2& lhs, const Vec2& rhs) {
15 return !(lhs == rhs);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected