Searched refs:ElementA (Results 1 – 2 of 2) sorted by relevance
378 struct ElementA : ElementBase { in TEST_SUBMODULE() struct379 ElementA(int v) : v(v) { } in TEST_SUBMODULE() argument383 py::class_<ElementA, ElementBase, std::shared_ptr<ElementA>>(m, "ElementA") in TEST_SUBMODULE()385 .def("value", &ElementA::value); in TEST_SUBMODULE()
315 el.add(m.ElementA(i))