Boost logo

Boost Users :

From: Mark Wyszomierski (markww_at_[hidden])
Date: 2007-01-29 12:03:58


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 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