You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently cxx-qt-lib's advantage is that we can define a trivial type as we alias the C++ type to a struct with a known size and assert it on either side.
Then could the bridge automatically generate the struct with the MaybeUninit and the assert on the C++ side?
There would then be questions over automatically implementing Clone/Drop/Default etc? Some of these should probably be attributes as they affect the movable asserts on the C++ side.
The text was updated successfully, but these errors were encountered:
I can definitely see how that would be nice to have.
However, it would mostly be a convenience for cxx-qt-lib...
If anything, this really belongs into CXX itself, so I wouldn't want to add this to CXX-Qt, as it would be public API surface that we need to maintain...
Currently cxx-qt-lib's advantage is that we can define a trivial type as we alias the C++ type to a struct with a known size and assert it on either side.
What if we could do the following
Then could the bridge automatically generate the struct with the MaybeUninit and the assert on the C++ side?
There would then be questions over automatically implementing Clone/Drop/Default etc? Some of these should probably be attributes as they affect the movable asserts on the C++ side.
The text was updated successfully, but these errors were encountered: