Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
132
class MyObject4 {
133
public:
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_nodelete
Function · 0.80
Calls
2
print_created
Function · 0.85
insert
Method · 0.80
Tested by
no test coverage detected