Pybind : How to overload a class function using lambda functions? I would like to overload a member of a class/structure in Python/C++ using pybind.