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.
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.