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

Method ~MyObject3

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

Source from the content-addressed store, hash-verified

115 explicit MyObject3(int value) : value(value) { print_created(this, toString()); }
116 std::string toString() const { return "MyObject3[" + std::to_string(value) + "]"; }
117 virtual ~MyObject3() { print_destroyed(this); }
118
119private:
120 int value;

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected