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

Method MyObject4

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

Source from the content-addressed store, hash-verified

132class MyObject4 {
133public:
134 explicit MyObject4(int value) : value{value} {
135 print_created(this);
136 pointer_set<MyObject4>().insert(this);
137 }
138 int value;
139
140 static void cleanupAllInstances() {

Callers 1

test_unique_nodeleteFunction · 0.80

Calls 2

print_createdFunction · 0.85
insertMethod · 0.80

Tested by

no test coverage detected