Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

mutable vs MSVC



I have a class with mutable members.
I made some const objects of it -- and the [EMAIL PROTECTED] MSVC 5.0 placed them in a
const segment, thus later modifying the mutable members explodes the
program.

Guess that is not the intended behavior.

Did later versions of this compiler fix this issue?

Paul




      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.