Struct copy and destruction

Mike Wey mike-wey at example.com
Sun Apr 10 03:09:16 PDT 2011


On 04/09/2011 04:34 PM, Morlan wrote:
> It sounds reasonable. But I cannot find information about this behaviour in the
> Language Reference or TDPL book. Can you point to a relevant source?

Section 7.1.3.6 of TPLD talks about struct destructors, but like the 
online documentation it only talks about calling the destructors when 
they go out of scope.

But what whould you think it should do when there is no longer any 
reference to one of the structs?

-- 
Mike Wey


More information about the Digitalmars-d mailing list