std.digest toHexString

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 20 08:46:10 PDT 2017


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.


More information about the Digitalmars-d-learn mailing list