|
template<int order> |
height_t | logc (order_t k) |
|
template<int order> |
order_t | pow_of_order (height_t h) |
|
template<> |
order_t | pow_of_order< 2 > (height_t h) |
|
template<> |
order_t | pow_of_order< 4 > (height_t h) |
|
template<> |
order_t | pow_of_order< 8 > (height_t h) |
|
template<> |
order_t | pow_of_order< 16 > (height_t h) |
|
template<class Merger , class Splitter , class It , class OutIt > |
void | merge_sort (It begin, It end, OutIt dest, const typename Merger::allocator &alloc) |
|
template<class Merger , class Splitter , class It , class OutIt > |
void | merge_sort (It begin, It end, OutIt dest) |
|
template<class Splitter , class Diff > |
Diff | run_size_ (Diff d) |
|
template<class Merger , class Splitter , class Diff , class MAlloc , class TAlloc > |
std::pair< Merger *, Merger * > | build_cache_ (Diff run_size, MAlloc &malloc, TAlloc &talloc) |
|
template<class Merger , class Splitter , class It , class OutIt , class Alloc > |
void | merge_sort_ (It begin, It end, OutIt dest, Merger *cache, Alloc alloc) |
|
template<class Merger , class Splitter , class MPtr , class It , class Alloc > |
void | sort_streams_ (MPtr cache, It begin, size_t order, size_t run_size, size_t big_runs, Alloc alloc) |
|
template<class MPtr , class It > |
void | add_sorted_streams_ (MPtr merger, It end, size_t order, size_t run_size, size_t big_runs) |
|
template<class MPtr , class It , class Pred > |
void | add_streams_ (MPtr merger, It begin, size_t order, size_t run_size, size_t big_runs, Pred comp) |
|