Searched refs:B_Repeat (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_virtual_functions.cpp | 344 class B_Repeat : public A_Repeat { class in inherits:A_Repeat 354 class C_Repeat : public B_Repeat { 380 class PyB_Repeat : public B_Repeat { 382 using B_Repeat::B_Repeat; 383 int unlucky_number() override { PYBIND11_OVERLOAD(int, B_Repeat, unlucky_number, ); } 384 std::string say_something(unsigned times) override { PYBIND11_OVERLOAD(std::string, B_Repeat, say_something, times); } 385 double lucky_number() override { PYBIND11_OVERLOAD(double, B_Repeat, lucky_number, ); } 452 py::class_<B_Repeat, A_Repeat, PyB_Repeat>(m, "B_Repeat") [all...] |
H A D | test_virtual_functions.py | 264 for obj in [m.B_Repeat(), m.B_Tpl()]:
|
Completed in 7 milliseconds