[Issue 9611] std.algorithm.nWayUnion(Tuple) too?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 27 17:24:56 PST 2013


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



--- Comment #2 from bearophile_hugs at eml.cc 2013-02-27 17:24:55 PST ---
(In reply to comment #1)

> A function that does the conversion to InputRange!E could easily be created and
> added to Phobos to handle this type of situation.

I think InputRange and inputRangeObject are not needed to solve this. A "static
foreach" on the Tuple fields (that contain ranges) looking for the smallest
value seems enough to me.

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