
On Fri, Mar 10, 2006 at 09:16:27PM -0800, Robert Ramey wrote:
'Carlo Wood' wrote:
I really need to serialize iterators, how can I do that?
I don't think it would be all that tough - but it would require fairly intimat knowledge of how the standard containers and iterators work. Feel free to do it.
Good Luck
Robert Ramey
I asked you first in a private mail, and all you had to say was: interesting question! Ask it on one of boosts mailinglists and I'll answer it there. Is the above the "Answer" you had in mind? 1) WHY does boost::serialization not support serialization of iterators? 2) Why does the documentation not mention this? 3) My original question hasn't been answered: How can one serialize iterators with boost::serialization? Imho, it requires intimate knowledge of the serialization library a lot more than knowledge of the STL; which is why I think this should be added to the library by people who are already familiar with how this library works (you). I suppose that 'tracking' needs to be turned on for something, but for what? The iterator type(s)? Will that then work? I cannot answer those questions without knowing the details of how this library works. I think it's unfair to tell me "good luck". -- Carlo Wood <carlo@alinoe.com>