auto decoding rant

Seb via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 15 08:50:42 PDT 2017


On Thursday, 15 June 2017 at 15:47:54 UTC, Jonathan Shamir wrote:
> Also note I can't cast to char[] in compile time? What's the 
> reason for that?

Have a look at:

https://dlang.org/phobos/std_utf.html#byCodeUnit
https://dlang.org/phobos/std_utf.html#byChar
https://dlang.org/phobos/std_string.html#.representation


More information about the Digitalmars-d mailing list