Home
last modified time | relevance | path

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

/external/python/pybind11/tests/
Dtest_virtual_functions.cpp328 class A_Repeat { class
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, ); } in unlucky_number()
378 …std::string say_something(unsigned times) override { PYBIND11_OVERLOAD(std::string, A_Repeat, say_… in say_something()
447 py::class_<A_Repeat, PyA_Repeat>(m, "A_Repeat") in initialize_inherited_virtuals()
449 .def("unlucky_number", &A_Repeat::unlucky_number) in initialize_inherited_virtuals()
450 .def("say_something", &A_Repeat::say_something) in initialize_inherited_virtuals()
[all …]
Dtest_virtual_functions.py246 class AR(m.A_Repeat):