Static Constructors

Saaa empty at needmail.com
Sat Oct 4 05:33:17 PDT 2008


>
> Have you heard of the append operator?
>
> fruit ~= new Fruit(...);

Yeah, but never used it other than with strings . . silly me.
>
>>
>> deleting is even more annoying.
>
> You don't have to delete anything.  This is what the GC is for.

I think I don't get GC use. How do I actually delete one of those fruits 
then? 




More information about the Digitalmars-d-learn mailing list