Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-10-10 12:20:36


tankbattle wrote:
> I'm using boost::serialization now and, indeed, it is very powerful,
> especially in type identification and object tracking, which make me
> very convenient. However, I think the lack of construction-time
> deserialization a pitfall.

the serialization library includes everything necessary to handle
classes without default constructors.

see the documentation

boost/serialization/reference/serialization concept/pointers/Non-default
constructors

also see the test file

test_non_default constructor.

Robert Ramey


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