Attributes lost in TypeInfo, please advise

Benjamin Thaut via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 12 08:37:42 PST 2015


On Thursday, 12 February 2015 at 12:59:39 UTC, Steven 
Schveighoffer wrote:
>
> I think given the necessity of the above (which was not 
> discussed or noticed in that bug report), we should add a way 
> to call the true destructor properly in the compiler.
>
> -Steve

Yes please. Its also going to genereate more optimal code. 
Calling the destructor through the TypeInfo leads to two 
unnecessary indirections.

Kind Regards
Benjamin Thaut


More information about the Digitalmars-d mailing list