const/immutable member functions

so so at so.do
Mon Jan 24 10:47:52 PST 2011


On Mon, 24 Jan 2011 20:41:17 +0200, Torarin <torarind at gmail.com> wrote:

> 2011/1/24 bearophile <bearophileHUGS at lycos.com>:
>> What other people think about this situation? Do you want  
>> const/immutable to be required on the right, or do you prefer the  
>> current situation, or do you prefer some other solution?
>
> If const is required to go on the right, what do you do if you want to
> mark a bunch of functions const inside {}?
>
> Torarin

I love that one, it is also quite explicit, we should definitely keep it.
But i agree with all that the other case should be disallowed.


More information about the Digitalmars-d mailing list