new D2.0 + C++ language

Weed resume755 at mail.ru
Fri Mar 20 11:37:09 PDT 2009


BCS пишет:
> Reply to Weed,
> 
> 
>> It is designed not so. There will be a hidden dereferencing:
>>
>> const ref Obj object -> struct{ Obj* object;    -> Obj object;
>> int counter; };
> 
> Who deletes those structs and when?
> 
> 

When an object is deleted the struct also is deleted



More information about the Digitalmars-d mailing list