Re: AA.values un-@safe?!
On Wednesday, 28 July 2021 at 21:39:43 UTC, jfondren wrote: I don't know, but .byValue is @safe and returns a forward range, so you could use `.init.byValue.array` instead. Great point. Thanks.
Re: AA.values un-@safe?!
On Wednesday, 28 July 2021 at 21:04:11 UTC, Per Nordlöw wrote: Why is call to `values` in, for instance, ```d auto _ = string[string].init.values; ``` not `@safe`? I don't know, but .byValue is @safe and returns a forward range, so you could use `.init.byValue.array` instead.
AA.values un-@safe?!
Why is call to `values` in, for instance, ```d auto _ = string[string].init.values; ``` not `@safe`?