No bounds checking for dynamic arrays at compile time?

Walter Bright newshound2 at digitalmars.com
Wed Dec 12 20:54:31 PST 2012


On 12/12/2012 8:11 PM, Pacoup wrote:
> Static arrays throw out of bounds errors on compilation when there's a mismatch,
> but why not dynamic arrays?

Because the length of dynamic arrays is unknown at compile time.



More information about the Digitalmars-d mailing list