Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-24 02:37:18


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk