dmd foreach loops throw exceptions on invalid UTF sequences, use replacementDchar instead

Walter Bright newshound2 at digitalmars.com
Sat Nov 6 22:43:14 UTC 2021


On 11/5/2021 9:25 PM, max haughton wrote:
> Although I understand what Walter is trying to say, he picked a poor example, 
> this one does actually make sense. Although in the world of sanitizers and such 
> it is not a hard thing to catch, bounds checking by default is a win.

Not sure what your point is, as D has bounds checking by default with [ ].


More information about the Digitalmars-d mailing list