Odd behaviour of std.range

frame frame86 at live.com
Tue Feb 22 12:48:21 UTC 2022


What am I missing here? Is this some UTF conversion issue?

```d
string a;
char[] b;

pragma(msg, typeof(a.take(1).front)); // dchar
pragma(msg, typeof(b.take(1).front)); // dchar
```


More information about the Digitalmars-d-learn mailing list