[Issue 19875] [betterC] dmd 2.0.86 Allowed class compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 15 13:34:05 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19875

Seb <greeenify at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify at gmail.com

--- Comment #1 from Seb <greeenify at gmail.com> ---
Why should it?
What gave you the impression that it should be?

BetterC doesn't support class allocation (via GC) yet.

In general, classes are a bit challenging with betterC

Though, I recommend reading this great article:

https://theartofmachinery.com/2018/08/13/inheritance_and_polymorphism_2.html

--


More information about the Digitalmars-d-bugs mailing list