[Issue 18501] New: randomShuffle and partialShuffle should return their input argument

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 23 03:35:04 UTC 2018


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

          Issue ID: 18501
           Summary: randomShuffle and partialShuffle should return their
                    input argument
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

Currently randomShuffle() and partialShuffle() are void functions. As a
consequence they cant be used as initializer.

--


More information about the Digitalmars-d-bugs mailing list