[Issue 23017] C++ class may not derive from D class
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 15 08:46:09 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23017
Dennis <dkorpel at live.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dkorpel at live.nl
Hardware|x86_64 |All
Summary|Deriving C++ class from D |C++ class may not derive
|one valid? |from D class
OS|Linux |All
--- Comment #1 from Dennis <dkorpel at live.nl> ---
It's indeed not valid:
https://dlang.org/spec/cpp_interface.html#classes
> Unlike classes and interfaces with D linkage, extern (C++) classes and interfaces are not rooted in Object and cannot be used with typeid.
--
More information about the Digitalmars-d-bugs
mailing list