Unexpected behaviour in associative array

Arredondo arm.plus at gmail.com
Sat Apr 20 22:16:22 UTC 2019


On Saturday, 20 April 2019 at 14:24:34 UTC, 9il wrote:
> On Friday, 19 April 2019 at 12:37:10 UTC, Arredondo wrote:
>>     Slice!(Contiguous, [2], byte*) payload;
>
> BTW, any reason not to use the new version of ndslice?
>
> For new API it would be:
>
> Slice!(byte*, 2, Contiguous)
>
> or just
>
> Slice!(byte*, 2)

I think this new ndslice API is newer than my code. I might 
consider upgrading though, maybe in the new version Slice.field() 
is const, so I can use my preferred implementation of toHash()?


More information about the Digitalmars-d-learn mailing list