save() feature for iota

Paul Backus snarwin at gmail.com
Thu Nov 3 11:58:20 UTC 2022


On Thursday, 3 November 2022 at 06:26:22 UTC, Salih Dincer wrote:
> Hi All,
>
> Isn't there a save feature for `iota()`?

Looking at the source, it seems that only the numeric overloads 
of `iota` implement `save`. I think this is probably just an 
oversight, though, since I can't see any reason why `save` 
wouldn't work just as well for the generic version.

I've submitted an enhancement request for this to the D bug 
tracker: https://issues.dlang.org/show_bug.cgi?id=23453


More information about the Digitalmars-d-learn mailing list