Searched refs:ProtectedB (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_class.cpp277 class ProtectedB { class
279 virtual ~ProtectedB() = default;
288 class TrampolineB : public ProtectedB {
290 int foo() const override { PYBIND11_OVERLOAD(int, ProtectedB, foo, ); }
293 class PublicistB : public ProtectedB {
295 using ProtectedB::foo;
298 py::class_<ProtectedB, TrampolineB>(m, "ProtectedB")
303 .def("foo", static_cast<int (ProtectedB::*)() const>(&PublicistB::foo));
H A Dtest_class.py211 b = m.ProtectedB()
214 class C(m.ProtectedB):
216 m.ProtectedB.__init__(self)

Completed in 7 milliseconds