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

/gem5/ext/pybind11/tests/
H A Dtest_operator_overloading.cpp134 struct NestA : NestABase { struct in inherits:NestABase
136 NestA& operator+=(int i) { value += i; return *this; }
138 py::class_<NestA>(m, "NestA")
141 .def("as_base", [](NestA &a) -> NestABase& {
144 m.def("get_NestA", [](const NestA &a) { return a.value; });
147 NestA a;
H A Dtest_operator_overloading.py76 a = m.NestA()

Completed in 6 milliseconds