Searched refs:C_Repeat (Results 1 – 2 of 2) sorted by relevance
/external/python/pybind11/tests/ |
D | test_virtual_functions.cpp | 368 class C_Repeat : public B_Repeat { class 375 class D_Repeat : public C_Repeat { 406 class PyC_Repeat : public C_Repeat { 408 using C_Repeat::C_Repeat; 409 int unlucky_number() override { PYBIND11_OVERRIDE(int, C_Repeat, unlucky_number, ); } in unlucky_number() 410 …std::string say_something(unsigned times) override { PYBIND11_OVERRIDE(std::string, C_Repeat, say_… in say_something() 411 double lucky_number() override { PYBIND11_OVERRIDE(double, C_Repeat, lucky_number, ); } in lucky_number() 474 py::class_<C_Repeat, B_Repeat, PyC_Repeat>(m, "C_Repeat") in initialize_inherited_virtuals() 476 py::class_<D_Repeat, C_Repeat, PyD_Repeat>(m, "D_Repeat") in initialize_inherited_virtuals()
|
D | test_virtual_functions.py | 301 for obj in [m.C_Repeat(), m.C_Tpl()]: 307 class CR(m.C_Repeat): 309 return m.C_Repeat.lucky_number(self) + 1.25
|