Boost logo

Boost Users :

From: at forum (at1forum_at_[hidden])
Date: 2007-10-06 17:13:30


On 10/5/07, Robert Ramey <ramey_at_[hidden]> wrote:
> a) I don't see a serialize function for Action. Until this exists, it's not
> a serializble type. Hence it will not compile.

Ok thank you.

> b) The following is not symetrical and this is almost always a programmer
> error
>
> > oa << BOOST_SERIALIZATION_NVP(this);
> ...
> > ia >> BOOST_SERIALIZATION_NVP(*this);

I know that, but if I put
oa << BOOST_SERIALIZATION_NVP(*this); I get a run time error, and when
I put ia >> BOOST_SERIALIZATION_NVP(this) I get a run time error.

If I do my save and load fucntion output my class, its ok and I can
have symetrical Serialize.

any Idea?

 _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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