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