dmd foreach loops throw exceptions on invalid UTF sequences, use replacementDchar instead
Ali Çehreli
acehreli at yahoo.com
Fri Nov 5 23:01:24 UTC 2021
On 11/5/21 5:38 AM, max haughton wrote:
> I have never ever seen someone use a static array by mistake
Related, although safe, vector::at is almost never used because the more
convenient (but unsafe) vector.operator[] exists:
v[42] // What Ali saw in the wild
v.at(42) // What Ali did not see as much in the wild
Ali
More information about the Digitalmars-d
mailing list