Searched refs:D_Repeat (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_virtual_functions.cpp | 361 class D_Repeat : public C_Repeat { class in inherits:C_Repeat 394 class PyD_Repeat : public D_Repeat { 396 using D_Repeat::D_Repeat; 397 int unlucky_number() override { PYBIND11_OVERLOAD(int, D_Repeat, unlucky_number, ); } 398 std::string say_something(unsigned times) override { PYBIND11_OVERLOAD(std::string, D_Repeat, say_something, times); } 399 double lucky_number() override { PYBIND11_OVERLOAD(double, D_Repeat, lucky_number, ); } 457 py::class_<D_Repeat, C_Repeat, PyD_Repeat>(m, "D_Repeat")
|
H A D | test_virtual_functions.py | 315 class DR(m.D_Repeat): 322 for obj in [m.D_Repeat(), m.D_Tpl()]:
|
Completed in 7 milliseconds