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

/gem5/ext/pybind11/tests/
H A Dtest_stl_binders.cpp18 class El { class
20 El() = delete;
21 El(int v) : a(v) { } function in class:El
26 std::ostream & operator<<(std::ostream &s, El const&v) {
27 s << "El{" << v.a << '}';
62 py::class_<El>(m, "El")
64 py::bind_vector<std::vector<El>>(m, "VectorEl");
65 py::bind_vector<std::vector<std::vector<El>>>(m, "VectorVectorEl");
H A Dtest_stl_binders.py131 v_a.append(m.El(1))
132 v_a.append(m.El(2))
133 assert str(v_a) == "VectorEl[El{1}, El{2}]"
138 assert str(vv_b) == "VectorEl[El{1}, El{2}]"

Completed in 3 milliseconds