Skip to content

Commit f2fc7ff

Browse files
committed
Complete flip documentation with a link to my blog
1 parent 6342d0e commit f2fc7ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/Comparator-adapters.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Those unwrappings are meant to be simple and only intended to work with "well-fo
2020
#include <cpp-sort/comparators/flip.h>
2121
```
2222

23-
The class template `flip_t` is a function object which, when called, passes the arguments in reversed order to the *Callable* it holds with and returns the result. It is named after the [`flip`][prelude-flip] function from Haskell's Prelude module.
23+
The class template `flip_t` is a function object which, when called, passes the arguments in reversed order to the *Callable* it holds and returns the result. It is named after the [`flip`][prelude-flip] function from Haskell's Prelude module. You can find more trivia about this function object, as well as examples of use [in a article][blog-std-flip] on my blog.
2424

2525
`flip_t<F>` has the following member functions:
2626

@@ -137,6 +137,7 @@ constexpr auto projection() const
137137

138138

139139
[binary-predicate]: https://en.cppreference.com/w/cpp/concept/BinaryPredicate
140+
[blog-std-flip]: https://morwenn.github.io/c++/2025/09/25/TSB004-std-flip.html
140141
[branchless-traits]: Miscellaneous-utilities.md#branchless-traits
141142
[callable]: https://en.cppreference.com/w/cpp/named_req/Callable
142143
[prelude-flip]: https://hackage.haskell.org/package/base-4.16.0.0/docs/Prelude.html#v:flip

0 commit comments

Comments
 (0)