std.digest toHexString

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 20 09:04:10 PDT 2017


On Monday, 20 March 2017 at 15:46:10 UTC, Adam D. Ruppe wrote:
> On Monday, 20 March 2017 at 15:38:26 UTC, Kagamin wrote:
>> This explicit slice won't work, because a slice of a fixed 
>> size array results in a fixed size array.
>
> No, it doesn't. int[4] a; typeof(a[] == int[])
>
> You can try yourself in the compiler, it is easy to verify.

https://dpaste.dzfl.pl/eafa86c5426d


More information about the Digitalmars-d-learn mailing list