mirror of
https://github.com/dlang/phobos.git
synced 2025-05-08 03:56:54 +03:00
Merge pull request #2996 from quickfur/std_algo_cleanup
std.algorithm cleanup
This commit is contained in:
commit
5dd6df0bd3
6 changed files with 116 additions and 123 deletions
|
@ -61,7 +61,6 @@ T2=$(TR $(TDNW $(LREF $1)) $(TD $+))
|
|||
*/
|
||||
module std.algorithm.sorting;
|
||||
|
||||
import std.algorithm : SortOutput; // FIXME
|
||||
import std.algorithm.mutation : SwapStrategy;
|
||||
import std.functional; // : unaryFun, binaryFun;
|
||||
import std.range.primitives;
|
||||
|
@ -69,6 +68,16 @@ import std.range.primitives;
|
|||
import std.range; // : SortedRange;
|
||||
import std.traits;
|
||||
|
||||
/**
|
||||
Specifies whether the output of certain algorithm is desired in sorted
|
||||
format.
|
||||
*/
|
||||
enum SortOutput
|
||||
{
|
||||
no, /// Don't sort output
|
||||
yes, /// Sort output
|
||||
}
|
||||
|
||||
// completeSort
|
||||
/**
|
||||
Sorts the random-access range $(D chain(lhs, rhs)) according to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue