Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-27 01:41:35


Peter Dimov wrote:

> Or more generally,
>
> - one value save, then N pointer saves sharing the same address should be
> OK;
>
> - M pointer saves sharing the same address should be OK; (*)
>
> - K value saves sharing the same address should be OK and result in K
> copies in the archive;
>
> - all other sequences raise an exception at first opportunity.
>
> Is there any reasonable use case which is prohibited by the above rules?

To make myself clear: I think *this* is the core question of this entire
thread, and I agree 100% with what Peter proposes. This behaviour will make
the case that the current assertion is meant to catch just work.

- Volodya


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