immutability and constness

Minas minas_mina1990 at hotmail.co.uk
Thu Jul 12 07:13:45 PDT 2012


Thanks a lot!
So what is the problem with (logical)const? Is it needed that
much? And why some methods (toString(), toHash()) HAVE to be
const? I mean, what's the problem if they aren't?


More information about the Digitalmars-d-learn mailing list