Searched refs:construct3 (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_factory_constructors.cpp136 static TestFactory3 *construct3() { return new TestFactory3(); } function in class:TestFactoryHelper
138 static std::shared_ptr<TestFactory3> construct3(int a) { return std::shared_ptr<TestFactory3>(new TestFactory3(a)); } function in class:TestFactoryHelper
184 .def(py::init([](pointer_tag, int v) { return TestFactoryHelper::construct3(v); }))
185 .def(py::init([](shared_ptr_tag) { return TestFactoryHelper::construct3(); }))

Completed in 5 milliseconds