[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-users
Subject: Re: [Boost-users] quick serialization question
From: "Mark Wyszomierski" <markww () gmail ! com>
Date: 2007-01-29 19:40:19
Message-ID: dfdfe01e0701291140w3618de28kba504b75d4f63e49 () mail ! gmail ! com
[Download RAW message or body]
Thanks Robert, I just used the & operator instead of >> and it works perfectly,
Mark
On 1/29/07, Robert Ramey <ramey@rrsd.com> wrote:
> You can tweak your personal copy of the oserializer.hpp and iserializer to
> dissable
> these traps. It very easy to do.
>
> You could also just use the & operator rather than << operator.
>
> Either one will achieve what your desire.
>
> Robert Ramey
>
> Mark Wyszomierski wrote:
> > Hi,
> >
> > The serialization examples use const instances of classes like:
> >
> > const CMyClass test;
> > outstream_var << test;
> >
> > is there anyway to remove the const keyword and still have it work? I
> > rarely construct const classes, so I had to make an ugly wrapper which
> > copies my objects into a temporary const instance when it's time to
> > serialize.
> >
> > Thanks,
> > Mark
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic