Hi,

What would be a good technique to deserialize an object without using 2-phase initialization? In other words, I want to avoid first default constructing the object and *then* streaming it out of the archive object. I was thinking of a factory for this but a good code example would help a great deal since I'm not extremely familiar with Boost.Serialization. I was looking through the Boost.Serialization documentation but I was unable to find information on this.

Help is greatly appreciated!