You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Home.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Welcome to the **cpp-sort 1.12.0** documentation!
1
+
Welcome to the **cpp-sort 1.12.1** documentation!
2
2
3
3
You probably read the introduction in the README, so I won't repeat it here. This wiki contains documentation about the library: basic documentation about the many sorting tools and how to use them, documentation about the additional utilities provided by the library and even some detailed tutorials if you ever want to write your own sorters or sorter adapters. This main page explains a few general things that didn't quite fit in other parts of the documentation.
`size` is a function that can be used to get the size of an iterable. It is equivalent to the C++17 function [`std::size`][std-size] but has an additional tweak so that, if the iterable is not a fixed-size C array and doesn't have a `size` method, it calls `std::distance(std::begin(iter), std::end(iter))` on the iterable. Therefore, this function can also be used for `std::forward_list` as well as some implementations of ranges.
249
249
250
+
*Changed in version 1.12.1:*`utility::size()` now also works for collections that only provide non-`const``begin()` and `end()`.
This algorithm actually uses a rather big amount of memory but scales better than other O(n log n) algorithms of the library described as "slow" when the collections get bigger.
325
325
326
326
*New in version 1.10.0*
327
327
328
+
*Changed in version 1.12.1:*`slab_sorter` now works with bidirectional iterators.
Copy file name to clipboardExpand all lines: docs/Tooling.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,10 +51,10 @@ The same options exist without the `CPPSORT_` prefix exist, but are deprecated.
51
51
conan search cpp-sort --remote=conan-center
52
52
```
53
53
54
-
And then install any version to your local cache as follows (here with version 1.12.0):
54
+
And then install any version to your local cache as follows (here with version 1.12.1):
55
55
56
56
```sh
57
-
conan install cpp-sort/1.12.0
57
+
conan install cpp-sort/1.12.1
58
58
```
59
59
60
60
The packages downloaded from conan-center are minimal and only contain the files required to use **cpp-sort** as a library: the headers, CMake files and licensing information. If you need anything else you have to build your own package with the `conanfile.py` available in this repository.
0 commit comments