Is there any real reason to use "const"?

rikki cattermole rikki at cattermole.co.nz
Mon Jan 24 10:13:02 UTC 2022


If you are working with raw pointers, you need a way to express read 
only memory.

Because the CPU does have it, and if you tried to write to it, bye bye 
process.


More information about the Digitalmars-d mailing list