How to break const

Mehrdad wfunction at hotmail.com
Sun Jun 17 23:19:55 PDT 2012


On Monday, 18 June 2012 at 06:14:22 UTC, Matthias Walter wrote:
> Its not, that a const method cannot modify an object, it just 
> ensures that the const method cannot modify the object *by 
> using the this-pointer*.



I see...


So that means you /can't/ tell something just by looking at a 
part of the code, right?

(Just mentioning this since this idea seemed to be emphasized a 
lot by D.)


More information about the Digitalmars-d mailing list