31 Aug
2013
31 Aug
'13
5:26 p.m.
On 8/31/2013 1:22 PM, Phil Bouchard wrote:
So you have a cyclic list:
+-> 1 -> 2 -> 3 -+ | | +----------------+
1 will be called for destruction first but the pointer to 2 and then 3 will deleted beforehand because they are their members. The pointer of 3 to 1 will be ineffective.
And if you have: +-> 1 -+ +-> 2 -+ | | | | +------+ +------+ 1 will be deleted then 2. -Phil