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

Method construct3

tests/test_factory_constructors.cpp:198–198  ·  view source on GitHub ↗

shared_ptr holder type: pointer:

Source from the content-addressed store, hash-verified

196 // shared_ptr holder type:
197 // pointer:
198 static TestFactory3 *construct3() { return new TestFactory3(); }
199 // holder:
200 static std::shared_ptr<TestFactory3> construct3(int a) {
201 return std::shared_ptr<TestFactory3>(new TestFactory3(a));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected