MCPcopy Create free account
hub / github.com/pybind/pybind11 / CastUnusualOpRefConstRef

Function CastUnusualOpRefConstRef

tests/test_copy_move.cpp:166–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164namespace {
165
166py::object CastUnusualOpRefConstRef(const UnusualOpRef &cref) { return py::cast(cref); }
167py::object CastUnusualOpRefMovable(UnusualOpRef &&mvbl) { return py::cast(std::move(mvbl)); }
168
169} // namespace

Callers 1

TEST_SUBMODULEFunction · 0.70

Calls 1

castFunction · 0.70

Tested by

no test coverage detected