Transitive const sucks

Bruno Medeiros brunodomedeiros+spam at com.gmail
Wed Sep 12 12:43:43 PDT 2007


Janice Caron wrote:
>> And why is this nonsense?? Because x is public? I don't see the problem
>> here.
> 
> What's the use-case for mutable non-private members?
> 
> I would say that it's nonsense if there's no need for them.
> 
> "Nonsense" may be the wrong word. "Should not be part of D" is more
> what I really mean.

I can't name a use case right now, but I do think significant use-cases 
for mutable non-private members exist.

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list