www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18330] New: [topN - multiple declarations] Two autos in

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

          Issue ID: 18330
           Summary: [topN - multiple declarations] Two autos in
                    documentation
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/library/std/algorithm/sorting.html
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: john.michael.hall gmail.com

On the website, the documentation is showing up as 


auto auto topN(alias less, SwapStrategy ss = SwapStrategy.unstable, Range) (
  Range r,
  size_t nth
)
if (isRandomAccessRange!Range && hasLength!Range && hasSlicing!Range);


It has two autos listed even though the source code has one auto.

--
Jan 29