Eliminate class allocators and deallocators?

Denis Koroskin 2korden at gmail.com
Wed Oct 7 17:28:01 PDT 2009


On Thu, 08 Oct 2009 04:13:12 +0400, Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org> wrote:

> Denis Koroskin wrote:
>> I'm not sure you will convince people to use foo.recycle() instead of  
>> foo.delete(). Not only it's slower, I believe recycling an object works  
>> for hiding bugs: accessing a recycled object - obviously a bug - will  
>> no longer be detected.
>
> Is anyone under the illusion that today there's any detection going on?
>
> Andrei

There is none, but it's possible. It's just not implemented.



More information about the Digitalmars-d mailing list