Key and value with ranges

christian.koestlin christian.koestlin at gmail.com
Tue Oct 3 19:57:06 UTC 2023


On Tuesday, 3 October 2023 at 01:55:43 UTC, Andrey Zherikov wrote:
> On Monday, 2 October 2023 at 18:46:14 UTC, christian.koestlin 
> wrote:
>> [...]
>
> Slightly improved:
> ```d
> import std;
>
> [...]

Thanks .. the thing with ref result is very clever!
Should `ref result` be `return result`?

Kind regards,
Christian


More information about the Digitalmars-d-learn mailing list