Lines Matching defs:A_Repeat
328 class A_Repeat {
342 virtual ~A_Repeat() = default;
344 class B_Repeat : public A_Repeat {
374 class PyA_Repeat : public A_Repeat {
376 using A_Repeat::A_Repeat;
377 int unlucky_number() override { PYBIND11_OVERLOAD_PURE(int, A_Repeat, unlucky_number, ); }
378 std::string say_something(unsigned times) override { PYBIND11_OVERLOAD(std::string, A_Repeat, say_something, times); }
447 py::class_<A_Repeat, PyA_Repeat>(m, "A_Repeat")
449 .def("unlucky_number", &A_Repeat::unlucky_number)
450 .def("say_something", &A_Repeat::say_something)
451 .def("say_everything", &A_Repeat::say_everything);
452 py::class_<B_Repeat, A_Repeat, PyB_Repeat>(m, "B_Repeat")