struct destructors
Alexander
aldem+dmars at nk7.net
Mon May 9 12:51:06 PDT 2011
On 09.05.2011 19:38, Sean Kelly wrote:
> Not currently. I thought I wrote some explanation of why...
OK, thanks - I've read the ticket. Though, the problem can be solved relatively simple, IMHO - adding one more pointer to BlkInfo, where address of the finalizer is stored, which will be used only for cases when collected object is not a class.
For now, it seems, better to avoid struct destructors at all, or resort to classes.
/Alexander
More information about the Digitalmars-d
mailing list