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

Method Child

tests/test_call_policies.cpp:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 class Child {
37 public:
38 Child() { py::print("Allocating child."); }
39 Child(const Child &) = default;
40 Child(Child &&) = default;
41 ~Child() { py::print("Releasing child."); }

Callers 5

test_keep_alive_argumentFunction · 0.80
test_alive_gcFunction · 0.80
test_alive_gc_derivedFunction · 0.80

Calls 1

printFunction · 0.85

Tested by

no test coverage detected