https://issues.dlang.org/show_bug.cgi?id=13596
--- Comment #4 from [email protected] --- (In reply to bearophile_hugs from comment #3) > (In reply to github-bugzilla from comment #2) > > Commit pushed to master at https://github.com/D-Programming-Language/phobos > > > > https://github.com/D-Programming-Language/phobos/commit/ > > 6079e23d827ffeaf15b6587eb713fa95a20e4e6f > > std.algorithm.iteration: Add permutations (fix issue 13596) > > You have missed the "doCopy" compilation argument, that gives safety. You can also add an optional runtime argument, to supply the array of indexes, to make everything @nogc if desired. --
