Boost logo

Boost :

From: Ivan Rachev (ivanr_at_[hidden])
Date: 2005-07-09 13:22:05


Could boost::serialization developers give ideas how iterators to stl
containers should be made serializable?

Robert suggested that they be serialized after the container, they
iterate over, gets serialized. So we would have
A) code that serializes container
B) code that serializes iterator

I thought about defering B to execute in A using the Command pattern.
So if B happens before A, B will send a function object to A and this
object would be executed when A gets called.

What problems might there be with this implementation?

Ivan


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