how to do iota(0,256) with ubytes ? (cf need for iotaInclusive)

Timothee Cour via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 12 12:55:35 PDT 2015


that's only a partial fix:
I also would like to express:

iotaInclusive(1,256)
iotaInclusive(1,256,3)

etc



On Mon, Oct 12, 2015 at 12:31 PM, Nordlöw via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On Monday, 12 October 2015 at 16:34:09 UTC, Andrei Alexandrescu wrote:
>
>> We can add iota!T() with no arguments that spans the entire range of T
>> (integral). -- Andrei
>>
>
> Clever, as always, Andrei! ;)
>
> Should I do a PR?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20151012/2504bdc9/attachment.html>


More information about the Digitalmars-d mailing list