Go to the source code of this file.
Classes | |
| struct | BaseN< N > |
| struct | Vanilla |
| struct | WithStatic1 |
| struct | WithStatic2 |
| struct | VanillaStaticMix1 |
| struct | VanillaStaticMix2 |
Macros | |
| #define | PYBIND11_BASEN(N) py::class_<BaseN<N>>(m, "BaseN" #N).def(py::init<int>()).def("f" #N, [](BaseN<N> &b) { return b.i + N; }) |
Functions | |
| TEST_SUBMODULE (multiple_inheritance, m) | |
| #define PYBIND11_BASEN | ( | N | ) | py::class_<BaseN<N>>(m, "BaseN" #N).def(py::init<int>()).def("f" #N, [](BaseN<N> &b) { return b.i + N; }) |
| TEST_SUBMODULE | ( | multiple_inheritance | , |
| m | |||
| ) |
Definition at line 46 of file test_multiple_inheritance.cpp.
1.8.19