$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2007-01-29 12:21:49
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