-
Notifications
You must be signed in to change notification settings - Fork 374
Open
Labels
new bindingInvolves adding a new public type to cxx crate or rust/cxx.h headerInvolves adding a new public type to cxx crate or rust/cxx.h header
Description
It would greatly simplify API development if automatic Option<T>
conversion was supported.
Since C++17 there is std::optional<T>
, which would allow a more or less direct translation of supported types.
I had a look at #67 and the ideas and work done by @myronahn for Vec seems to be similar to what would be needed for supporting Option
so maybe one could build on that...
raftario, sbrocket, Timmmm, guswynn, ekuecks and 43 more
Metadata
Metadata
Assignees
Labels
new bindingInvolves adding a new public type to cxx crate or rust/cxx.h headerInvolves adding a new public type to cxx crate or rust/cxx.h header