SHORT Re: Suggestion: "fix" assert(obj)

BCS ao at pathlink.com
Tue Jun 19 10:39:54 PDT 2007


Reply to Don,
> 
> BTW, the same 'it segfaults anyway' argument could be used to some
> extent for array bounds checking.
> 


char[] buff = new char[10];

buff[$] = 'c'; // past end and (I think) more often then not won't AV





More information about the Digitalmars-d mailing list