MCPcopy Create free account
hub / github.com/pybind/pybind11 / MyObject4b

Method MyObject4b

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

Source from the content-addressed store, hash-verified

184class MyObject4b : public MyObject4a {
185public:
186 explicit MyObject4b(int i) : MyObject4a(i) { print_created(this); }
187 MyObject4b(const MyObject4b &) = delete;
188 ~MyObject4b() override { print_destroyed(this); }
189};

Callers 1

test_unique_deleterFunction · 0.80

Calls 1

print_createdFunction · 0.85

Tested by

no test coverage detected