Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ CastUnusualOpRefMovable
Function
CastUnusualOpRefMovable
tests/test_copy_move.cpp:167–167 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
165
166
py::object CastUnusualOpRefConstRef(const UnusualOpRef &cref) { return py::cast(cref); }
167
py::object CastUnusualOpRefMovable(UnusualOpRef &&mvbl) { return py::cast(std::move(mvbl)); }
168
169
} // namespace
170
Callers
1
TEST_SUBMODULE
Function · 0.70
Calls
2
move
Function · 0.85
cast
Function · 0.70
Tested by
no test coverage detected