tmp/tmpz_s1sxkb/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Comparison functions <a id="text.encoding.cmp">[[text.encoding.cmp]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
friend constexpr bool operator==(const text_encoding& a, const text_encoding& b) noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Returns:* If `a.`*`mib_`*` == id::other && b.`*`mib_`*` == id::other`
|
| 8 |
+
is `true`, then *`comp-name`*`(a.`*`name_`*`,b.`*`name_`*`)`. Otherwise,
|
| 9 |
+
`a.`*`mib_`*` == b.`*`mib_`*.
|
| 10 |
+
|
| 11 |
+
``` cpp
|
| 12 |
+
friend constexpr bool operator==(const text_encoding& encoding, id i) noexcept;
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
*Returns:* `encoding.`*`mib_`*` == i`.
|
| 16 |
+
|
| 17 |
+
*Remarks:* This operator induces an equivalence relation on its
|
| 18 |
+
arguments if and only if `i != id::other` is `true`.
|
| 19 |
+
|