Lines Matching refs:Base2a
111 struct Base2a {
112 Base2a(int i) : i(i) { }
116 py::class_<Base2a, std::shared_ptr<Base2a>>(m, "Base2a")
118 .def("bar", &Base2a::bar);
120 struct Base12a : Base1a, Base2a {
121 Base12a(int i, int j) : Base1a(i), Base2a(j) { }
123 py::class_<Base12a, /* Base1 missing */ Base2a,
127 m.def("bar_base2a", [](Base2a *b) { return b->bar(); });
128 m.def("bar_base2a_sharedptr", [](std::shared_ptr<Base2a> b) { return b->bar(); });