www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18501] New: randomShuffle and partialShuffle should return

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 puremagic.com
          Reporter: b2.temp gmx.com

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

--
Feb 22 2018