
27 Jun
2005
27 Jun
'05
6:41 a.m.
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