On Monday, 22 June 2020 at 04:32:32 UTC, Mike Parker wrote:
On Monday, 22 June 2020 at 04:08:10 UTC, Denis wrote:
On Monday, 22 June 2020 at 03:31:17 UTC, Ali Çehreli wrote:
:
string is char[]
wstring is wchar[]
dstring is dchar[]
Got it now. This is the critical piece I missed: I understand
the relations between the char types and the UTF encodings
(thanks to your book). But I mistakenly thought that the
string types were different.
They're aliases in object.d:
https://github.com/dlang/druntime/blob/master/src/object.d#L35
Right at the top and plain as day too... ;)
I appreciate the link to the source -- thanks!