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

Method MyObject5

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

Source from the content-addressed store, hash-verified

192class MyObject5 { // managed by huge_unique_ptr
193public:
194 explicit MyObject5(int value) : value{value} { print_created(this); }
195 MyObject5(const MyObject5 &) = delete;
196 ~MyObject5() { print_destroyed(this); }
197 int value;

Callers 1

test_large_holderFunction · 0.80

Calls 1

print_createdFunction · 0.85

Tested by

no test coverage detected