[Issue 9447] iota should generate char intervals too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 4 10:57:36 PST 2013


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



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-04 10:57:34 PST ---
(In reply to comment #2)
> It is definitely _not_ the case that adding 1 to a wchar or dchar will
> necessarily result in a valid value. In both of them, there's a block in the
> middle which is invalid. Just like at the implementation of isValidDchar.

Is this the only restriction though? If that's so, it should be easy to
implement this feature with a single runtime check to verify the range doesn't
go over the invalid block.

-- 
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