[phobos] [D-Programming-Language/phobos] 301b42: Fix issue 12007 - cartesianProduct does'nt work wi...
GitHub
noreply at github.com
Wed Feb 26 12:54:52 PST 2014
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/phobos
Commit: 301b42f0de6444db0e03067bbe4f899a41ba4fb2
https://github.com/D-Programming-Language/phobos/commit/301b42f0de6444db0e03067bbe4f899a41ba4fb2
Author: monarchdodra <monarchdodra at gmail.com>
Date: 2014-02-26 (Wed, 26 Feb 2014)
Changed paths:
M std/range.d
Log Message:
-----------
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
Commit: 189d64433ff9429cba386725179f7abf88d4b512
https://github.com/D-Programming-Language/phobos/commit/189d64433ff9429cba386725179f7abf88d4b512
Author: monarchdodra <monarchdodra at gmail.com>
Date: 2014-02-26 (Wed, 26 Feb 2014)
Changed paths:
M std/range.d
Log Message:
-----------
Simplify Zip's constructor
Commit: 8d800e59ccec7b39f6bb55d088fc84f9e04b2a37
https://github.com/D-Programming-Language/phobos/commit/8d800e59ccec7b39f6bb55d088fc84f9e04b2a37
Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
Date: 2014-02-26 (Wed, 26 Feb 2014)
Changed paths:
M std/range.d
Log Message:
-----------
Merge pull request #1897 from monarchdodra/12007-2
Fix issue 12007 - cartesianProduct doesn't work with ranges of immutable...
Compare: https://github.com/D-Programming-Language/phobos/compare/7bd1ae66c376...8d800e59ccec
More information about the phobos
mailing list