Home
last modified time | relevance | path

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

/external/python/pybind11/tests/
Dtest_smart_ptr.cpp378 struct ElementA : ElementBase { in TEST_SUBMODULE() struct
379 ElementA(int v) : v(v) { } in TEST_SUBMODULE() argument
383 py::class_<ElementA, ElementBase, std::shared_ptr<ElementA>>(m, "ElementA") in TEST_SUBMODULE()
385 .def("value", &ElementA::value); in TEST_SUBMODULE()
Dtest_smart_ptr.py315 el.add(m.ElementA(i))