[Issue 13596] permutations range

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 18 04:47:16 PDT 2015


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

--- Comment #4 from bearophile_hugs at eml.cc ---
(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.

--


More information about the Digitalmars-d-bugs mailing list