Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ negate
Function
negate
tests/test_docs_advanced_cast_custom.cpp:14–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
};
13
14
Point2D negate(const Point2D &point) { return Point2D{-point.x, -point.y}; }
15
16
} // namespace user_space
17
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected