|
1 | | -[](https://github.com/timsort/cpp-TimSort/releases/tag/v1.2.1) |
2 | | -[](https://conan.io/center/timsort?version=1.2.1) |
3 | | -[](https://doge.mit-license.org) |
| 1 | +[](https://github.com/timsort/cpp-TimSort/releases/tag/v1.2.1) |
| 2 | +[](https://conan.io/center/timsort?version=1.2.1) |
4 | 3 |
|
5 | 4 | ## TimSort |
6 | 5 |
|
@@ -44,19 +43,23 @@ gfx::timsort(vec.begin(), vec.end(), std::less<size_t>(), &len); |
44 | 43 |
|
45 | 44 | ## INSTALLATION & COMPATIBILITY |
46 | 45 |
|
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +
|
47 | 50 | This library is compatible with C++98, but if you compile it with C++11 or higher it will try to use `std::move()` |
48 | 51 | when possible instead of copying vaues around, which notably allows to sort collections of move-only types (see |
49 | 52 | [#9](https://github.com/gfx/cpp-TimSort/pull/9) for details). |
50 | 53 |
|
51 | 54 | You can explicity control the use of `std::move()` by setting the macro `GFX_TIMSORT_USE_STD_MOVE` to `0` or `1`. |
52 | 55 |
|
53 | 56 | The library has been tested with the following compilers: |
54 | | -* GCC 5 |
55 | | -* Clang 3.8 |
56 | | -* Xcode 9.2 AppleClang |
57 | | -* MSVC 2017 update 9 |
| 57 | +* GCC 5.5 |
| 58 | +* Clang 6 |
| 59 | +* MSVC 2017 |
58 | 60 |
|
59 | | -It should also work with more recent compilers, and most likely with some older compilers too. |
| 61 | +It should also work with more recent compilers, and most likely with some older compilers too. We used to guarantee |
| 62 | +support as far back as Clang 3.8, but the new continuous integration environment doesn't go that far. |
60 | 63 |
|
61 | 64 | The library can be installed on the system via CMake with the following commands: |
62 | 65 |
|
|
0 commit comments