[Issue 14084] cartesianProduct length is not defined

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 20 12:30:27 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=14084

--- Comment #1 from hsteoh at quickfur.ath.cx ---
One issue with defining .length in cartesianProduct is that the length grows
exponentially with the number of arguments, and it's unclear what .length
should return if it overflows size_t.

--


More information about the Digitalmars-d-bugs mailing list