|
Boost Users : |
From: Oleg V. Zhylin (ovz_at_[hidden])
Date: 2007-04-24 20:00:35
Thanks for noticing this, Bill. Thus the problem in my main project
is that NVP wrapper is missing somewhere. Too bad this can only be
tracked down manually...
--- Bill Lear <rael_at_[hidden]> wrote:
> On Tuesday, April 24, 2007 at 16:07:03 (-0700) Oleg V. Zhylin writes:
> >...
> > // If your program fails to compile here, its most likely
> due
> >to
> > // not specifying an nvp wrapper around the variable to
> > // be serialized.
>
> I believe you need the BOOST_SERIALIZATION_NVP wrapper, here:
>
> > ar & i;
>
> around i, thus:
>
> ar & BOOST_SERIALIZATION_NVP(i);
>
>
>
> Bill
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
WBR Oleg V. Zhylin ovz_at_[hidden]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
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