| 264 | |
| 265 | struct MyDerived : MyBase { |
| 266 | static std::unique_ptr<MyDerived> make() { |
| 267 | return std::unique_ptr<MyDerived>(new MyDerived()); |
| 268 | } |
| 269 | }; |
| 270 | |
| 271 | py::class_<MyBase>(m, "MyBase").def_static("make", &MyBase::make); |
nothing calls this directly
no outgoing calls
no test coverage detected