Reset class member variables

Sean Kelly sean at f4.ca
Sun Sep 9 07:36:54 PDT 2007


Daniel Keep wrote:
> 
>>> And if that's the case you might want to think about making the object
>>> a struct (so a value-type, allocated on the stack) anyway.
> 
> Sorry, pretty sparkly particles must persist across stack frames :(

It's possible to use 'new' for structs too :-p


Sean



More information about the Digitalmars-d mailing list