diff --git a/README.md b/README.md index ef3d55a..56196a5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![Latest Release](https://img.shields.io/badge/release-cpp--TimSort%2F1.2.0-blue.svg)](https://github.com/timsort/cpp-TimSort/releases) +[![Latest Release](https://img.shields.io/badge/release-cpp--TimSort%2F2.0.0-blue.svg)](https://github.com/timsort/cpp-TimSort/releases) [![Build Status](https://travis-ci.org/timsort/cpp-TimSort.svg?branch=master)](https://travis-ci.org/timsort/cpp-TimSort) -[![License](https://img.shields.io/:license-mit-blue.svg)](https://doge.mit-license.org) +[![License](https://img.shields.io/:license-mit-yellow.svg)](https://doge.mit-license.org) ## TimSort @@ -31,19 +31,26 @@ The full list of available signatures is as follows (in namespace `gfx`): ```cpp // Overloads taking a pair of iterators + template void timsort(RandomAccessIterator const first, RandomAccessIterator const last); + template void timsort(RandomAccessIterator const first, RandomAccessIterator const last, Compare compare); + template void timsort(RandomAccessIterator const first, RandomAccessIterator const last, Compare compare, Projection projection); + // Overloads taking a range + template void timsort(RandomAccessRange &range); + template void timsort(RandomAccessRange &range, Compare compare); + template void timsort(RandomAccessRange &range, Compare compare, Projection projection); ``` diff --git a/include/gfx/timsort.hpp b/include/gfx/timsort.hpp index 56393d4..b42797c 100644 --- a/include/gfx/timsort.hpp +++ b/include/gfx/timsort.hpp @@ -38,8 +38,8 @@ // Semantic versioning macros -#define GFX_TIMSORT_VERSION_MAJOR 1 -#define GFX_TIMSORT_VERSION_MINOR 2 +#define GFX_TIMSORT_VERSION_MAJOR 2 +#define GFX_TIMSORT_VERSION_MINOR 0 #define GFX_TIMSORT_VERSION_PATCH 0 // Diagnostic selection macros