From: Robert Ramey (ramey_at_[hidden])
Date: 2004-12-17 11:23:39
Bruno Martínez Aguerre wrote:
> On Thu, 16 Dec 2004 23:52:45 +0100, JOAQUIN LOPEZ MU?Z
> <joaquin_at_[hidden]> wrote:
> I haven't tried using multi_index nor it's serialization capabilities
> yet. However, I do think there are practical uses of iterator
> For one, recently there was a conversation between you and Robert
> about serialization of something like this:
> container<SomeClass> v;
> SomeClass* p; //point to an element of v
> IIRC, this wasn't currently supported by the serialization library. An
> iterator there instead of a pointer would be a workaround for this
Actually that wasn't the problem case. The case you site above is indeed
> Second, I believe it would be useful for freezing a computation. Say
> I'm iterating over a multi_index, and I wan't to stop and remember
> where I
> was. If I can serialize the iterator of the current position along
> the multi_index container, this can easily be achieved.
> What do you think?
I think you should do this.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk