$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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!