[Issue 7128] Cartesian product of ranges
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 7 18:01:53 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7128
--- Comment #13 from bearophile_hugs at eml.cc 2013-02-07 18:01:50 PST ---
The repetition number is not yet supported:
auto cartesianProduct(size_t nRepetitions=0, R)(R range) { ... }
If the name if the function is different, then it's even possible to support
this API, where it returns a range of dynamic arrays:
auto cartesianPower(R)(R range, in size_t n) { ... }
--
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