"example/example-eval.cpp" did not exist on "c6ad2c4993fecb60503b6f2ab9941f4ccae5fe5c"
fix py::cast<void *> (#1605)
Pybind11 provides a cast operator between opaque void* pointers on the
C++ side and capsules on the Python side. The py::cast<void *>
expression was not aware of this possibility and incorrectly triggered a
compile-time assertion ("Unable to cast type to reference: value is
local to type caster") that is now fixed.
Showing
Please register or sign in to comment