constness for arrays

Reiner Pope reiner.pope at gmail.com
Tue Jul 18 05:54:36 PDT 2006


I like it. Same capabilities as I was grasping at, but much more elegant.

>   - reading and writing to the array has no additional cost
I just want to point out that this means that you can compile a release 
version with checking disabled for max speed, but for extra safety, you 
could set write-checking for debug builds, where the slowdown should be 
more acceptable.



More information about the Digitalmars-d mailing list