MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / operator+

Method operator+

__tests__/fixtures/kernel-parity/torture.cpp:84–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82struct Vec2 {
83 float x, y;
84 Vec2 operator+(const Vec2 &o) const { return {x + o.x, y + o.y}; }
85 explicit operator bool() const { return x != 0 || y != 0; }
86 Vec2 origin();
87};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected