??? 02/23/08 20:22 Read: times |
#151349 - make sure the developer doesn't do something stupi Responding to: ???'s previous message |
Craig Steiner said:
So it does seem to me it's just a way to make the compiler make sure the developer doesn't do something stupid. Yes, that's exactly it. The effect of 'const' is purely at compile time - it does nothing to provide any means of checking runtime writes to a 'const' object. |