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

Method MyObject4a

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

Source from the content-addressed store, hash-verified

158class MyObject4a {
159public:
160 explicit MyObject4a(int i) : value{i} {
161 print_created(this);
162 pointer_set<MyObject4a>().insert(this);
163 };
164 MyObject4a(const MyObject4a &) = delete;
165
166 int value;

Callers 2

test_unique_nodelete4aFunction · 0.80
test_unique_deleterFunction · 0.80

Calls 2

print_createdFunction · 0.85
insertMethod · 0.80

Tested by

no test coverage detected