[Issue 13482] std.algorithm.podSort

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 31 14:50:59 UTC 2018


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

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |greensunny12 at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #2 from Seb <greensunny12 at gmail.com> ---
> A pair of overloaded functions like this could be useful to add to Phobos to avoid most of the template bloat caused by std.algorithm.sort in the situations where the maximum sorting performance and flexibility (this just accepts an array) is not strictly necessary:

(OP proposes a solution with if constraint "bloat")

I think if there are any issues with std.algorithm.sort / its templates, we
should try to address these instead of promoting such "workarounds" in the
standard library.
Closing as WONTFIX.

Please feel free to open issues regarding sort or problems with templates.

--


More information about the Digitalmars-d-bugs mailing list