| 27 | std::shared_ptr<int> contents; |
| 28 | int value() const { return contents ? *contents : -20251012; } |
| 29 | long use_count() const { return contents.use_count(); } |
| 30 | }; |
| 31 | py::class_<SharedKeepAlive>(m, "SharedKeepAlive") |
| 32 | .def_property_readonly("value", &SharedKeepAlive::value) |
no outgoing calls
no test coverage detected