tmp/tmp5weuwdf6/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class T, class Container>
|
| 5 |
bool operator==(const queue<T, Container>& x, const queue<T, Container>& y);
|
| 6 |
```
|
|
@@ -19,27 +19,35 @@ template <class T, class Container>
|
|
| 19 |
bool operator< (const queue<T, Container>& x, const queue<T, Container>& y);
|
| 20 |
```
|
| 21 |
|
| 22 |
*Returns:* `x.c < y.c`.
|
| 23 |
|
| 24 |
-
``` cpp
|
| 25 |
-
template <class T, class Container>
|
| 26 |
-
bool operator<=(const queue<T, Container>& x, const queue<T, Container>& y);
|
| 27 |
-
```
|
| 28 |
-
|
| 29 |
-
*Returns:* `x.c <= y.c`.
|
| 30 |
-
|
| 31 |
``` cpp
|
| 32 |
template<class T, class Container>
|
| 33 |
bool operator> (const queue<T, Container>& x, const queue<T, Container>& y);
|
| 34 |
```
|
| 35 |
|
| 36 |
*Returns:* `x.c > y.c`.
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
``` cpp
|
| 39 |
template<class T, class Container>
|
| 40 |
bool operator>=(const queue<T, Container>& x,
|
| 41 |
const queue<T, Container>& y);
|
| 42 |
```
|
| 43 |
|
| 44 |
*Returns:* `x.c >= y.c`.
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Operators <a id="queue.ops">[[queue.ops]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class T, class Container>
|
| 5 |
bool operator==(const queue<T, Container>& x, const queue<T, Container>& y);
|
| 6 |
```
|
|
|
|
| 19 |
bool operator< (const queue<T, Container>& x, const queue<T, Container>& y);
|
| 20 |
```
|
| 21 |
|
| 22 |
*Returns:* `x.c < y.c`.
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
``` cpp
|
| 25 |
template<class T, class Container>
|
| 26 |
bool operator> (const queue<T, Container>& x, const queue<T, Container>& y);
|
| 27 |
```
|
| 28 |
|
| 29 |
*Returns:* `x.c > y.c`.
|
| 30 |
|
| 31 |
+
``` cpp
|
| 32 |
+
template<class T, class Container>
|
| 33 |
+
bool operator<=(const queue<T, Container>& x, const queue<T, Container>& y);
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
*Returns:* `x.c <= y.c`.
|
| 37 |
+
|
| 38 |
``` cpp
|
| 39 |
template<class T, class Container>
|
| 40 |
bool operator>=(const queue<T, Container>& x,
|
| 41 |
const queue<T, Container>& y);
|
| 42 |
```
|
| 43 |
|
| 44 |
*Returns:* `x.c >= y.c`.
|
| 45 |
|
| 46 |
+
``` cpp
|
| 47 |
+
template<class T, three_way_comparable Container>
|
| 48 |
+
compare_three_way_result_t<Container>
|
| 49 |
+
operator<=>(const queue<T, Container>& x, const queue<T, Container>& y);
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
*Returns:* `x.c <=> y.c`.
|
| 53 |
+
|