[Issue 10762] std.range.iota should support any type that has ordered comparisons, incrementing, and addition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 5 12:34:52 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10762


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #3 from bearophile_hugs at eml.cc 2013-08-05 12:34:51 PDT ---
Elsewhere there was a discussion for:

iota!"[]"('a', 'z')
iota!"[]"(ubyte.min, ubyte.max)


Should enums too be supported?

enum MyE { A=1, B=15, C=6, D=9, E=22, F=3 }

iota(MyE.B, MyE.E)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list