Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
158
class MyObject4a {
159
public:
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_nodelete4a
Function · 0.80
test_unique_deleter
Function · 0.80
Calls
2
print_created
Function · 0.85
insert
Method · 0.80
Tested by
no test coverage detected