
24 Jun
2005
24 Jun
'05
7:37 a.m.
Robert Ramey wrote:
Tracking a stack object makes no sense. doing so will result in an archive that cannot be loaded.
How it does correspond to your previous statement:
Its very easy to write for(...{ X x = *it; // create a copy of ar << x }
all the x's are at the same address so if they happen to be tracked because a pointer to some X in serialized somewhere in the program, then the subsequent copies would be supprsed by tracking.
In the example you say that x's can happen to be tracked. In your last email you say that tracking a stack object makes no sense. And all x's are stack objects. - Volodya