Finding and invoking struct destructors in D2

Pillsy pillsbury at gmail.com
Thu May 27 11:06:36 PDT 2010


== Quote from div0 (div0 at users.sourceforge.net)'s article:
[...]
> Most important is this one, which scuppers any change of doing
> a shared ptr like struct:

> http://d.puremagic.com/issues/show_bug.cgi?id=3516

Yeah, that basically kills the idea until the bug is fixed. :(

Once it is, I think a hasDestructor template would be a good thing
to have in the standard library.

Cheers,
Pillsy


More information about the Digitalmars-d-learn mailing list