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