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

Method create

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

Source from the content-addressed store, hash-verified

253 SftVirtBase() = default;
254 virtual ~SftVirtBase() = default;
255 static std::shared_ptr<SftVirtBase> create() { return std::make_shared<SftVirtBase>(); }
256 virtual std::string name() { return "SftVirtBase"; }
257};
258struct SftVirtDerived : SftVirtBase {

Callers 5

test_createFunction · 0.45
test_cpp_castingFunction · 0.45
createFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected