Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-10-09 16:06:14


"E. Gladyshev" wrote:
[...]
> My first question what does "reusing storage" really mean?
> How is the process of "reusing storage" defined?

You simply "place" new stuff in that storage. The "previous"
non-POD stuff doesn't exist anymore (as soon as you've placed
some other {sub-}object in that storage) as far as C++ is
concerned. AFAICS, you can have char "copies", but you just
can't use your bunch of copied chars to "revive" evaporated
non-POD stuff.

regards,
alexander.


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