[Dlang-study] [lifetime] destructor, difference between C++ and D and rationale

Andrei Alexandrescu andrei at erdani.com
Thu Oct 29 04:52:52 PDT 2015


On 10/28/2015 08:29 PM, deadal nix wrote:
> I think it is very relevent here as destructor is a very common tool to
> free resources, as well as one of the most complex to deal with, mostly
> because of move semantic. I already had in mind to launch that subject
> before this whole thing started.
>
> Why were things changed that way ?

This would stray further off-topic. We can do the reference counting a 
different way from cdtors if that's what works best. For further inquiry 
please start a discussion in the main forum. -- Andrei


More information about the Dlang-study mailing list