Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Namespaces | Functions
Saf/Algo/Sort/Default.h File Reference

Default sorting algorithms.
More...

#include "IntroSort.h"
#include "MergeSort.h"

Go to the source code of this file.

Namespaces

namespace  Saf
 Global library namespace.
namespace  Saf::Algo
 Generic data handling algorithms and structures.
namespace  Saf::Algo::Sort
 Sorting algorithms.

Functions

template<class RanIter , class Pred >
void Saf::Algo::Sort::Sort (RanIter begin, RanIter end, Pred pred)
 Sort sequence [begin, end) according to pred using the default non-stable sorting algorithm.
template<class RanIter >
void Saf::Algo::Sort::Sort (RanIter begin, RanIter end)
 Sort the sequence [begin, end) from smallest to largest elements using the default non-stable sorting algorithm.
template<class RanIter , class Pred >
void Saf::Algo::Sort::SortStable (RanIter begin, RanIter end, Pred pred)
 Sort sequence [begin, end) according to pred using the default stable sorting algorithm.
template<class RanIter >
void Saf::Algo::Sort::SortStable (RanIter begin, RanIter end)
 Sort the sequence [begin, end) from smallest to largest elements using the default stable sorting algorithm.

Detailed Description

Default sorting algorithms.
Author:
Ondrej Danek ondre.nosp@m.j.da.nosp@m.nek@g.nosp@m.mail.nosp@m..com
Date:
2012