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

--- Comment #2 from [email protected] ---
(In reply to Seb from comment #1)
> 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

Because D BetterC page list classes as an removed feature
https://dlang.org/spec/betterc.html#consequences

So, if classes are removed, why my example compiles just fine?

--

Reply via email to