D's Destructors are What Scott Meyers Warned Us About
12345swordy
alexanderheistermann at gmail.com
Mon Jul 9 02:58:07 UTC 2018
On Monday, 9 July 2018 at 02:10:27 UTC, sarn wrote:
> On Monday, 9 July 2018 at 01:19:28 UTC, Mike Franklin wrote:
>> In the context of your blog post at
>> https://theartofmachinery.com/2018/05/27/cpp_classes_in_betterc.html, I'm wondering if the changes in 2.081 help matters at all: I'm wondering if any of the changes in 2.081 improves the situation here: e.g. https://dlang.org/changelog/2.081.0.html#cpp_destroy
>>
>> Mike
>
> I don't know yet, but, yeah, that work looks interesting and I
> definitely have to do some more testing.
>
> BTW, I'm still interested in writing DIPs. I've just been
> working a lot on another project lately.
I was thinking of rewriting my current DIP into introducing null
function and recursive_destruct that can call on classes only if
certain rules are checked.
-Alexander
More information about the Digitalmars-d
mailing list