Home
last modified time | relevance | path

Searched refs:B_Repeat (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_virtual_functions.cpp358 class B_Repeat : public A_Repeat { class
368 class C_Repeat : public B_Repeat {
399 class PyB_Repeat : public B_Repeat {
401 using B_Repeat::B_Repeat;
402 int unlucky_number() override { PYBIND11_OVERRIDE(int, B_Repeat, unlucky_number, ); } in unlucky_number()
403 …std::string say_something(unsigned times) override { PYBIND11_OVERRIDE(std::string, B_Repeat, say_… in say_something()
404 double lucky_number() override { PYBIND11_OVERRIDE(double, B_Repeat, lucky_number, ); } in lucky_number()
471 py::class_<B_Repeat, A_Repeat, PyB_Repeat>(m, "B_Repeat") in initialize_inherited_virtuals()
473 .def("lucky_number", &B_Repeat::lucky_number); in initialize_inherited_virtuals()
474 py::class_<C_Repeat, B_Repeat, PyC_Repeat>(m, "C_Repeat") in initialize_inherited_virtuals()
Dtest_virtual_functions.py295 for obj in [m.B_Repeat(), m.B_Tpl()]: