Boost logo

Boost Users :

From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2007-08-17 19:51:35


Hi!

Hector C. schrieb:
> THANK YOU! (Shouting intended)
>
> Just for future reference, your solution lead me to:
>
> A a;
> {
> ofstream off("test.txt");
> boost::archive::text_oarchive oa(off);
> oa << (const A &)a;
> }
>
> --Hector C.

I now noticed that the link I posted does not reference excatly what I
meant to point at. Your code makes me think that you have not read what
I wanted you to read. Here it goes.

READ THIS:

http://www.boost.org/libs/serialization/doc/rationale.html#trap

Frank


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