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

Method ~MyObject4a

tests/test_smart_ptr.cpp:177–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175
176protected:
177 virtual ~MyObject4a() {
178 pointer_set<MyObject4a>().erase(this);
179 print_destroyed(this);
180 }
181};
182
183// Object derived but with public destructor and no Deleter in default holder

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected