Why D const is annoying

Mehrdad wfunction at hotmail.com
Wed May 2 13:30:11 PDT 2012


Okay thanks for the replies, that clears up a bunch of things for me.

Regarding the last part:

Yes, it 'works'. The only trouble is that you can never set the interface 
methods to be 'const', because any sort of indirection can screw you over 
later. This is why const is less useful than it could be. 



More information about the Digitalmars-d mailing list