|
1 | | -[](https://github.com/timsort/cpp-TimSort/releases) |
| 1 | +[](https://github.com/timsort/cpp-TimSort/releases) |
2 | 2 | [](https://travis-ci.org/timsort/cpp-TimSort) |
3 | | -[](https://doge.mit-license.org) |
| 3 | +[](https://doge.mit-license.org) |
4 | 4 |
|
5 | 5 | ## TimSort |
6 | 6 |
|
@@ -31,19 +31,26 @@ The full list of available signatures is as follows (in namespace `gfx`): |
31 | 31 |
|
32 | 32 | ```cpp |
33 | 33 | // Overloads taking a pair of iterators |
| 34 | + |
34 | 35 | template <typename RandomAccessIterator> |
35 | 36 | void timsort(RandomAccessIterator const first, RandomAccessIterator const last); |
| 37 | + |
36 | 38 | template <typename RandomAccessIterator, typename Compare> |
37 | 39 | void timsort(RandomAccessIterator const first, RandomAccessIterator const last, |
38 | 40 | Compare compare); |
| 41 | + |
39 | 42 | template <typename RandomAccessIterator, typename Compare, typename Projection> |
40 | 43 | void timsort(RandomAccessIterator const first, RandomAccessIterator const last, |
41 | 44 | Compare compare, Projection projection); |
| 45 | + |
42 | 46 | // Overloads taking a range |
| 47 | + |
43 | 48 | template <typename RandomAccessRange> |
44 | 49 | void timsort(RandomAccessRange &range); |
| 50 | + |
45 | 51 | template <typename RandomAccessRange, typename Compare> |
46 | 52 | void timsort(RandomAccessRange &range, Compare compare); |
| 53 | + |
47 | 54 | template <typename RandomAccessRange, typename Compare, typename Projection> |
48 | 55 | void timsort(RandomAccessRange &range, Compare compare, Projection projection); |
49 | 56 | ``` |
|
0 commit comments