Andrey Asadchev

Results 1 issues of Andrey Asadchev

I have a workaround to create classmethods in PyBind. ``` template pybind11::object classmethod(Func f, Args ... args) { pybind11::object cf = pybind11::cpp_function(f, args...); return pybind11::object(PyClassMethod_New(cf.ptr()), true); } ``` used like...

enhancement