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

/gem5/ext/pybind11/tests/
H A Dtest_factory_constructors.cpp120 static TestFactory1 *construct1() { return new TestFactory1(); } function in class:TestFactoryHelper
122 static std::unique_ptr<TestFactory1> construct1(int a) { return std::unique_ptr<TestFactory1>(new TestFactory1(a)); } function in class:TestFactoryHelper
165 .def(py::init([](unique_ptr_tag, int v) { return TestFactoryHelper::construct1(v); }))
167 .def(py::init([](pointer_tag) { return TestFactoryHelper::construct1(); }))
168 .def(py::init([](py::handle, int v, py::handle) { return TestFactoryHelper::construct1(v); }))

Completed in 5 milliseconds