|
Boost Users : |
Subject: Re: [Boost-users] [serialization] load/save seem to (use) different headerformat
From: Ewald Peiszer (ewald.peiszer_at_[hidden])
Date: 2009-01-03 12:48:37
>
> I filled in the missing parts of your code to make a complete program
> (attached) and it works for me with Boost 1.35.0 and MSVC 8.0 Express.
Thank you for your effort! Your test code also works for me and it even
works with my original class.
...after some more hours I finally found the problem.
I declared the variable I deserialize my archive to as
Foo *xy = new Foo();
Accordingly I should have written something like
ia >> (*xy);
(NB the * operator.)
*blush*
Regards
Ewald
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