[Issue 13935] Problem with std.algorithm.cartesianProduct(map, map)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jan 9 23:44:27 PST 2015


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

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/51e390d0bbc764e2866b1fb4c1c3fc532f6f7537
Issue 13935: do not assume range can be default-initialized.

When the incoming range is parametrized on something that requires a
frame pointer, we cannot declare default-initialized instances of its
type; to work around this in .save, just make a copy of `this` and then
kick it into shape before returning it.

https://github.com/D-Programming-Language/phobos/commit/9a655323a16585ba9dc9b3ae547d51123a4f4b9d
Merge pull request #2860 from quickfur/issue13935

Issue 13935: do not assume range can be default-initialized.

--


More information about the Digitalmars-d-bugs mailing list