MCPcopy Create free account
hub / github.com/pybind/pybind11 / ~TestFactory4

Method ~TestFactory4

tests/test_factory_constructors.cpp:78–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 TestFactory4() { print_default_created(this); }
77 explicit TestFactory4(int v) : TestFactory3(v) { print_created(this, v); }
78 ~TestFactory4() override { print_destroyed(this); }
79};
80// Another class for an invalid downcast test
81class TestFactory5 : public TestFactory3 {

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected