Struct destructors not available in -betterC?

Seb seb at wilzba.ch
Tue Jul 10 20:33:46 UTC 2018


On Tuesday, 10 July 2018 at 19:28:34 UTC, SrMordred wrote:
> On Tuesday, 10 July 2018 at 19:14:26 UTC, Gary Willoughby wrote:
>> Looking at the page on -betterC it says that struct 
>> destructors are not available.
>>
>> See point 11:
>> https://dlang.org/spec/betterc.html#consequences
>>
>> This doesn't seem to be true as I'm using them with no problem.
>
> Yep, the docs are not up to the last dmd updates.

But they easily can be: 
https://github.com/dlang/dlang.org/pull/2415


More information about the Digitalmars-d mailing list