const methods()

Kristian Kilpi kjkilpi at gmail.com
Tue Jan 23 05:17:58 PST 2007


On Tue, 23 Jan 2007 14:52:30 +0200, Mike <mike at mike.com> wrote:
> Kristian, the mutable keyword allows you to override the constness. So  
> in my
> opinion, the way C++ does const objects is perfect. Cant understand why  
> its not in D.

Wha!? I can't believe I have missed that one! 8|  Hehheh... well, you  
learn every day something new (sometimes pretty essential things it  
seems)... Thanks for pointing this out. :)



More information about the Digitalmars-d mailing list