Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ ~MyObject4
Method
~MyObject4
tests/test_smart_ptr.cpp:149–152 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
147
148
private:
149
~MyObject4() {
150
pointer_set<MyObject4>().erase(this);
151
print_destroyed(this);
152
}
153
};
154
155
// test_unique_deleter
Callers
nothing calls this directly
Calls
1
print_destroyed
Function · 0.85
Tested by
no test coverage detected