Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Morwenn committed Nov 30, 2019
1 parent 1ef3d42 commit f63671c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -31,19 +31,26 @@ The full list of available signatures is as follows (in namespace `gfx`):

```cpp
// Overloads taking a pair of iterators

template <typename RandomAccessIterator>
void timsort(RandomAccessIterator const first, RandomAccessIterator const last);

template <typename RandomAccessIterator, typename Compare>
void timsort(RandomAccessIterator const first, RandomAccessIterator const last,
Compare compare);

template <typename RandomAccessIterator, typename Compare, typename Projection>
void timsort(RandomAccessIterator const first, RandomAccessIterator const last,
Compare compare, Projection projection);

// Overloads taking a range

template <typename RandomAccessRange>
void timsort(RandomAccessRange &range);

template <typename RandomAccessRange, typename Compare>
void timsort(RandomAccessRange &range, Compare compare);

template <typename RandomAccessRange, typename Compare, typename Projection>
void timsort(RandomAccessRange &range, Compare compare, Projection projection);
```
Expand Down
4 changes: 2 additions & 2 deletions include/gfx/timsort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f63671c

Please sign in to comment.