shuffle a character array

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 20 17:26:10 PDT 2016


On Wednesday, 20 July 2016 at 16:44:11 UTC, ketmar wrote:
> On Wednesday, 20 July 2016 at 13:33:34 UTC, Mike Parker wrote:
>> There is no auto-decoding going on here,
> ...
>
>> as char[] and wchar[] are rejected outright since they are not 
>> considered random access ranges.
> ...due to autodecoding.

No, due to them being multi-byte formats. I don't see what auto 
decoding has to do with it. That's a separate concept. We could 
take auto decoding out of Phobos and still disqualify them as 
random access ranges.


More information about the Digitalmars-d-learn mailing list