[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 16 13:50:44 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=8882



--- Comment #5 from bearophile_hugs at eml.cc 2014-01-16 13:50:42 PST ---
(In reply to comment #4)

> Bah, I think illegal input should Error. Problem solved.

Changing an exception -> error changes the API of iota(), but in this case I
think there's no need to change the API. "iota(1.0, 2.0);" can be nothrow with
small changes in the Phobos code, keeping the same API.

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


More information about the Digitalmars-d-bugs mailing list