Searched refs:TestFactory5 (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_factory_constructors.cpp | 63 class TestFactory5 : public TestFactory3 { class in inherits:TestFactory3 65 TestFactory5(int i) : TestFactory3(i) { print_created(this, i); } function in class:TestFactory5 66 virtual ~TestFactory5() { print_destroyed(this); } 190 .def(py::init([](pointer_tag, TF5_tag, int a) { return new TestFactory5(a); })) 193 .def(py::init([](shared_ptr_tag, TF5_tag, int a) { return std::make_shared<TestFactory5>(a); })) 207 py::class_<TestFactory5, TestFactory3, std::shared_ptr<TestFactory5>>(m, "TestFactory5");
|
H A D | test_factory_constructors.py | 93 cstats = [ConstructorStats.get(c) for c in [m.TestFactory3, m.TestFactory4, m.TestFactory5]]
|
Completed in 7 milliseconds