tmp/tmp5kslsgg7/{from.md → to.md}
RENAMED
|
@@ -1,30 +0,0 @@
|
|
| 1 |
-
#### Class template `less_equal` <a id="comparisons.less_equal">[[comparisons.less_equal]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
template <class T = void> struct less_equal {
|
| 5 |
-
constexpr bool operator()(const T& x, const T& y) const;
|
| 6 |
-
};
|
| 7 |
-
```
|
| 8 |
-
|
| 9 |
-
``` cpp
|
| 10 |
-
constexpr bool operator()(const T& x, const T& y) const;
|
| 11 |
-
```
|
| 12 |
-
|
| 13 |
-
*Returns:* `x <= y`.
|
| 14 |
-
|
| 15 |
-
``` cpp
|
| 16 |
-
template <> struct less_equal<void> {
|
| 17 |
-
template <class T, class U> constexpr auto operator()(T&& t, U&& u) const
|
| 18 |
-
-> decltype(std::forward<T>(t) <= std::forward<U>(u));
|
| 19 |
-
|
| 20 |
-
using is_transparent = unspecified;
|
| 21 |
-
};
|
| 22 |
-
```
|
| 23 |
-
|
| 24 |
-
``` cpp
|
| 25 |
-
template <class T, class U> constexpr auto operator()(T&& t, U&& u) const
|
| 26 |
-
-> decltype(std::forward<T>(t) <= std::forward<U>(u));
|
| 27 |
-
```
|
| 28 |
-
|
| 29 |
-
*Returns:* `std::forward<T>(t) <= std::forward<U>(u)`.
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|