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
However, it would be nice if a class only contains C++ pure virtual function:
translate to D interface
can we add option to make @nogc nothrow optional? the reason is that these attribute are transitive, sometimes the method implementation need to call 3rd party library function which is not marked as nogc nothrow, while the developers has no control to change.
Looks like the C++ pure virtual function is not recognized.
It will be nice to parse C++ pure virtual function, and if a class only contains C++ pure virtual function:
interface
abstract
methods.Then it will be easier to interface D and C++:
https://dlang.org/spec/cpp_interface.html#using_d_classes_from_cpp
so the expected output are:
This example can be used as unittest case.
The text was updated successfully, but these errors were encountered: