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

Method move_list

tests/test_stl.cpp:293–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 int value;
292 };
293 std::list<Value> move_list() const { return {{0}, {1}, {2}}; }
294 };
295 py::class_<MoveOutContainer::Value>(m, "MoveOutContainerValue")
296 .def_readonly("value", &MoveOutContainer::Value::value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected