Steven Schveighoffer Wrote: > > How do we make this work? > > auto str = "hello world"; > foreach(c; str) > assert(is(typeof(c) == dchar));
foreach (dchar c; str) assert(...); This feature has been in D for years.
Steven Schveighoffer Wrote: > > How do we make this work? > > auto str = "hello world"; > foreach(c; str) > assert(is(typeof(c) == dchar));
foreach (dchar c; str) assert(...); This feature has been in D for years.