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/Changelog.md
-5Lines changed: 0 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,6 @@ While **cpp-sort** theoretically requires a fully C++17-compliant compiler, a fe
12
12
When compiled with C++17, **cpp-sort** might gain a few additional features depending on the level of C++17 support provided by the compiler. The availability of most of the features depends on the presence of corresponding [feature-testing macros][feature-test-macros]. The support for feature-testing macros being optional in C++17, it is possible that some of the features listed below aren't available even though the compiler is implements them. If it is the case and it is a problem for you, don't hesitate to open an issue so that we can explicitly support the given compiler.
13
13
14
14
**New features:**
15
-
*`string_spread_sort` now accepts [`std::string_view`][std-string-view] and sometimes `std::wstring_view`.
16
-
17
-
This feature is made available through the check `__cplusplus > 201402L && __has_include(<string_view>)`.
18
-
19
15
* Sorter adapters have been updated to take advantage of deduction guides:
20
16
21
17
```cpp
@@ -100,6 +96,5 @@ When compiled with C++20, **cpp-sort** might gain a few additional features depe
Copy file name to clipboardExpand all lines: docs/Sorters.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
@@ -593,7 +593,7 @@ It comes into three main flavours (available individually if needed):
593
593
594
594
*`integer_spread_sorter` works with any type satisfying the trait `std::is_integral`.
595
595
*`float_spread_sorter` works with any type satisfying the trait `std::numeric_limits::is_iec559` whose size is the same as `std::uint32_t` or `std::uin64_t`.
596
-
*`string_spread_sorter` works with `std::string` and `std::wstring`(if `wchar_t` is 2 bytes). This sorter also supports reverse sorting with `std::greater<>` and `std::ranges::greater`. In C++17 it also works with `std::string_view` and `std::wstring_view` (if `wchar_t` is 2 bytes).
596
+
*`string_spread_sorter` works with `std::string` and `std::string_view`, as well as `std::wstring`and `std::wstring_view` when `wchar_t` is 2 bytes. This sorter also supports reverse sorting with `std::greater<>` and `std::ranges::greater`.
597
597
598
598
These sorters accept projections as long as their simplest form can handle the result of the projection. The three of them are aggregated into one main sorter the following way:
0 commit comments