Why foreach(c; someString) must yield dchar

Kagamin spam at here.lot
Thu Aug 19 07:21:12 PDT 2010


dsimcha Wrote:

> BTW, what are some examples of where making dchar the default would **silently**
> break code?

1. Read a file and cast the buffer to string.
2. Surprising difference in string lenghts that were just checked.


More information about the Digitalmars-d mailing list