Fix Issue 12293 - Add forward to std.algorithm's cheat-sheet.

This commit is contained in:
Andrej Mitrovic 2014-04-27 01:00:06 +02:00
parent c61c1232b9
commit 8c24b1e875

View file

@ -36,7 +36,9 @@ setSymmetricDifference) $(MYREF setUnion) )
$(TR $(TDNW Mutation) $(TD $(MYREF bringToFront) $(MYREF copy) $(MYREF
fill) $(MYREF initializeAll) $(MYREF move) $(MYREF moveAll) $(MYREF
moveSome) $(MYREF remove) $(MYREF reverse) $(MYREF strip) $(MYREF stripLeft)
$(MYREF stripRight) $(MYREF swap) $(MYREF swapRanges) $(MYREF uninitializedFill) ))
$(MYREF stripRight) $(MYREF swap) $(MYREF swapRanges) $(MYREF uninitializedFill) )
)
$(TR $(TDNW Utility) $(TD $(MYREF forward) ))
)
Implements algorithms oriented mainly towards processing of
@ -9771,7 +9773,7 @@ private template HeapSortImpl(alias less, Range)
alias lessFun = binaryFun!less;
//template because of @@@12410@@@
void heapSort()(Range r)
void heapSort()(Range r)
{
// If true, there is nothing to do
if(r.length < 2) return;