save() feature for iota

Imperatorn johan_forsberg_86 at hotmail.com
Fri Nov 4 09:26:23 UTC 2022


On Friday, 4 November 2022 at 08:48:36 UTC, Salih Dincer wrote:
> 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

See Pauls response


More information about the Digitalmars-d-learn mailing list