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

Method ~DynamicClass

tests/test_methods_and_attributes.cpp:508–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 DynamicClass() { print_default_created(this); }
507 DynamicClass(const DynamicClass &) = delete;
508 ~DynamicClass() { print_destroyed(this); }
509 };
510 py::class_<DynamicClass>(m, "DynamicClass", py::dynamic_attr()).def(py::init());
511

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected