[Issue 12007] cartesianProduct does'nt work with ranges of immutables
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 26 12:55:15 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12007
--- Comment #5 from github-bugzilla at puremagic.com 2014-02-26 12:55:03 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/301b42f0de6444db0e03067bbe4f899a41ba4fb2
Fix issue 12007 - cartesianProduct does'nt work with ranges of immutables
https://d.puremagic.com/issues/show_bug.cgi?id=12007
This makes a tweak to `Zip`'s `save`: Now, it *builds* a new `Zip` object
from the saved ranges, rather than assigning each range individually.
This gives 2 advantages:
1. Better support for `save` (which doesn't actaully guarantee assignability)
2. Avoids useless `opAssign` overhead
https://github.com/D-Programming-Language/phobos/commit/8d800e59ccec7b39f6bb55d088fc84f9e04b2a37
Merge pull request #1897 from monarchdodra/12007-2
Fix issue 12007 - cartesianProduct doesn't work with ranges of immutable...
--
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