Getting the const-correctness of Object sorted once and for all

Walter Bright newshound2 at digitalmars.com
Sun May 13 20:40:51 PDT 2012


On 5/13/2012 8:19 PM, Jonathan M Davis wrote:
> This is in definite contrast to C++ where you
> _can_ avoid const completely if you want to.

That's because C++ const is just documentation for the programmer, and offers no 
reliable enforcement.


More information about the Digitalmars-d mailing list