cc caprani wrote:
> Hi Boosters,
>
> I had the compile
time warning discussed here
>
(http://boost.2283326.n4.nabble.com/Serialization-C4308-warning-with-MSVC9-td2600175.html)
>
that Robert is probably fed up discussing. I've read for months, but
>
didn't want to const_cast my object (or is it ok sometimes?).
> However,
making my destructor virtual removed the warning. Here's my
> question:
why does making the object destructor virtual remove the
> warning,
effectively making my object instances
const?
It used to be an error - but now it's a warning.
Robert Ramey