Boost logo

Boost Users :

Subject: [Boost-users] [serialization] Creating temporary archive objects
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2009-01-26 11:30:53


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!



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net