Why D const is annoying

Mehrdad wfunction at hotmail.com
Tue May 1 23:14:06 PDT 2012


> In C++, the compiler can't use it to provide any real guarantees, because 
> the programmer is free to violate const at any time via mutable or casting 
> away const.

Maybe I'm being stupid, but how is the case any different in D? 



More information about the Digitalmars-d mailing list