#dbugfix 17592

Basile B. b2.temp at gmx.com
Thu Mar 22 19:21:57 UTC 2018


On Thursday, 22 March 2018 at 19:20:14 UTC, 12345swordy wrote:
> On Thursday, 22 March 2018 at 17:02:43 UTC, Adam D. Ruppe wrote:
>> On Thursday, 22 March 2018 at 14:48:04 UTC, 12345swordy wrote:
>>> That is not a runtime version of system/user attributes! That 
>>> is custom checking for destructor! Hardly the same.
>>
>> How would your idea work?
>
> I thought it was your idea.
>
>> Classes in fact do not work with -betterC. 
>> https://dlang.org/spec/betterc.html#consequences
>
> "C++ classes and COM classes will still work"
> https://dlang.org/blog/2017/08/23/d-as-a-better-c/
> A bit misleading in that statement. It should be "D Classes".
>

No D classes requires D TypeInfo, not available in BetterC.
It's well C++ classes ;)

>> Warning: your code is fundamentally broken and cannot work the 
>> way you want it to work.
>
> I can tell that you're being snarky at me.




More information about the Digitalmars-d mailing list