important proposal: scope keyword for class members

Sean Kelly sean at invisibleduck.org
Mon Mar 9 20:58:47 PDT 2009


John Simon wrote:
> 
> Oh man I've tried, believe me.
> I couldn't figure out how to call the destructors in-place. Also, structs can't have parameter-less constructors

Have you tried just calling delete on the reference?  That should do 
what you want.  In D2 it certainly will at any rate... I haven't looked 
at the D1 lib source in a while.



More information about the Digitalmars-d mailing list