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

Method create

tests/test_smart_ptr.cpp:260–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258struct SftVirtDerived : SftVirtBase {
259 using SftVirtBase::SftVirtBase;
260 static std::shared_ptr<SftVirtDerived> create() { return std::make_shared<SftVirtDerived>(); }
261 std::string name() override { return "SftVirtDerived"; }
262};
263struct SftVirtDerived2 : virtual SftVirtDerived {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected