Destroying structs without a typeinfo object

Steven Schveighoffer schveiguy at yahoo.com
Fri May 4 08:35:07 PDT 2012


On Fri, 04 May 2012 11:20:41 -0400, Benjamin Thaut  
<code at benjamin-thaut.de> wrote:
>
> Thanks, but thats exactly what I'm currently doing. This still is a  
> indirect function call, and I hoped that there is a way to directly call  
> the destructor.

Then no, there isn't a better way.  If you look at that bug report, you  
can see there is no callable symbol the compiler will recognize to call  
that function directly.

-Steve


More information about the Digitalmars-d mailing list