save() feature for iota

Salih Dincer salihdb at hotmail.com
Fri Nov 4 08:48:36 UTC 2022


On Thursday, 3 November 2022 at 11:58:20 UTC, Paul Backus wrote:
> On Thursday, 3 November 2022 at 06:26:22 UTC, Salih Dincer 
> 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.

The problem I'm having here seems to be chunk related. But using 
a template like iota!char for some reason does not affect the 
output result. I showed these situations in the example in the 
Turkish forum:

https://forum.dlang.org/thread/jbklbbozmisahohouzsn@forum.dlang.org

SDB at 79


More information about the Digitalmars-d-learn mailing list