File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,15 @@ $(T2 partialSort,
4040 $(D a[0 .. 3] = [1, 2, 3]).
4141 The other elements of $(D a) are left in an unspecified order.)
4242$(T2 partition,
43- Partitions a range according to a predicate.)
43+ Partitions a range according to a unary predicate.)
4444$(T2 partition3,
45- Partitions a range in three parts (less than, equal, greater than the
46- given pivot).)
45+ Partitions a range according to a binary predicate in three parts (less
46+ than, equal, greater than the given pivot). Pivot is not given as an
47+ index, but instead as an element independent from the range's content.)
48+ $(T2 pivotPartition,
49+ Partitions a range according to a binary predicate in two parts: less
50+ than or equal, and greater than or equal to the given pivot, passed as
51+ an index in the range.)
4752$(T2 schwartzSort,
4853 Sorts with the help of the $(LUCKY Schwartzian transform).)
4954$(T2 sort,
You can’t perform that action at this time.
0 commit comments