How to break const
Matthias Walter
xammy at xammy.homelinux.net
Sun Jun 17 23:35:02 PDT 2012
On 06/18/2012 08:19 AM, Mehrdad wrote:
> 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.)
Yes, you are right with that.
More information about the Digitalmars-d
mailing list