auto decoding rant

Jonathan Shamir via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 15 08:55:35 PDT 2017


On Thursday, 15 June 2017 at 15:50:42 UTC, Seb wrote:
> 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

Perfect, thanks!


More information about the Digitalmars-d mailing list