MCPcopy Create free account
hub / github.com/pybind/pybind11 / make

Method make

tests/test_class.cpp:262–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 // #511: problem with inheritance + overwritten def_static
261 struct MyBase {
262 static std::unique_ptr<MyBase> make() { return std::unique_ptr<MyBase>(new MyBase()); }
263 };
264
265 struct MyDerived : MyBase {

Calls

no outgoing calls

Tested by

no test coverage detected