Open
Description
These two fields cause cxx to reject the bindings generated for our subclass method:
--- stderr
Error:
× cxx couldn't handle our generated bindings - could be a bug in autocxx:
│ unsupported type: MyPod
It also appears to be an issue using rust::Slice<float>
or rust::Vec<float>
(float*
works fine as expected).
I am a C++ noob but I can't understand what's problematic about these fields.
Expected Behavior
cxx accepts the bindings, or autocxx generates an error when generating the subclass describing why the POD type isn't valid.
Actual Behavior
cxx rejects the bindings without any additional error info.
Steps to Reproduce the Problem
See linked fork above, uncomment "bad fields" in MyPod
and run cargo run
.