Bug 14084 – cartesianProduct length is not defined

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-30T18:25:23Z
Last change time
2019-04-13T14:11:32Z
Assigned to
No Owner
Creator
Илья Ярошенко

Comments

Comment #0 by ilyayaroshenko — 2015-01-30T18:25:23Z
Comment #1 by hsteoh — 2016-05-20T19:30:27Z
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.