Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_argument
Function · 0.80
test_alive_gc
Function · 0.80
test_alive_gc_derived
Function · 0.80
test_alive_gc_multi_derived
Function · 0.80
test_keep_alive_constructor
Function · 0.80
Calls
1
print
Function · 0.85
Tested by
no test coverage detected