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

/gem5/ext/pybind11/tests/
H A Dtest_smart_ptr.cpp344 struct ElementA : ElementBase { struct in inherits:ElementBase
345 ElementA(int v) : v(v) { } function in struct:ElementA
349 py::class_<ElementA, ElementBase, std::shared_ptr<ElementA>>(m, "ElementA")
351 .def("value", &ElementA::value);
H A Dtest_smart_ptr.py283 el.add(m.ElementA(i))

Completed in 7 milliseconds