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

Method Parent

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

Source from the content-addressed store, hash-verified

45 class Parent {
46 public:
47 Parent() { py::print("Allocating parent."); }
48 Parent(const Parent &parent) = default;
49 ~Parent() { py::print("Releasing parent."); }
50 void addChild(Child *) {}

Callers 4

test_keep_alive_argumentFunction · 0.80
test_return_noneFunction · 0.80

Calls 1

printFunction · 0.85

Tested by

no test coverage detected