Lines Matching defs:foo
258 int foo() const { return value; }
266 using ProtectedA::foo;
272 .def("foo", &PublicistA::foo);
274 .def("foo", static_cast<int (ProtectedA::*)() const>(&PublicistA::foo));
282 virtual int foo() const { return value; }
290 int foo() const override { PYBIND11_OVERLOAD(int, ProtectedB, foo, ); }
295 using ProtectedB::foo;
301 .def("foo", &PublicistB::foo);
303 .def("foo", static_cast<int (ProtectedB::*)() const>(&PublicistB::foo));