Char representation
RazvanN via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Nov 22 12:32:34 PST 2016
On Tuesday, 22 November 2016 at 14:23:28 UTC, Jonathan M Davis
wrote:
> On Tuesday, November 22, 2016 13:29:47 RazvanN via
> Digitalmars-d-learn wrote:
>> [...]
>
> You misunderstand. char[] is a dynamic array of char, wchar[]
> is a dynamic array of wchar[], and dchar[] is a dynamic array
> of dchar. There is nothing funny going on with the internal
> representation. Rather, the problem is with the range API and
> the traits that go with it. And it's not a bug; it's a design
> mistake.
>
> [...]
Thank you very much for this great explanation. Things are
starting to make sense now.
Razvan Nitu
More information about the Digitalmars-d-learn
mailing list