[Issue 13594] std.algorithm.nextPermutation should accept ranges of lvalues

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Oct 31 12:54:38 PDT 2014


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com
            Summary|std.algorithm.nextPermutati |std.algorithm.nextPermutati
                   |on for fixed size arrays    |on should accept ranges of
                   |too                         |lvalues
           Severity|enhancement                 |normal

--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I'm changing the requirements. Bearophile's second attempt with the slice
operator should compile. There is no need to require the range itself to be an
lvalue, just that its elements are lvalues.

I also consider it a bug that this isn't the case.

--


More information about the Digitalmars-d-bugs mailing list