tmp/tmp7_mnsx44/{from.md → to.md}
RENAMED
|
@@ -1,29 +1,17 @@
|
|
| 1 |
-
####
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
constexpr error_category() noexcept;
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
*Effects:* Constructs an object of class `error_category`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
bool operator==(const error_category& rhs) const noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
*Returns:* `this == &rhs`.
|
| 14 |
|
| 15 |
``` cpp
|
| 16 |
-
|
| 17 |
```
|
| 18 |
|
| 19 |
-
*Returns:* `
|
| 20 |
|
| 21 |
-
``
|
| 22 |
-
|
| 23 |
-
```
|
| 24 |
-
|
| 25 |
-
*Returns:* `less<const error_category*>()(this, &rhs)`.
|
| 26 |
-
|
| 27 |
-
[*Note 1*: `less` ([[comparisons]]) provides a total ordering for
|
| 28 |
-
pointers. — *end note*]
|
| 29 |
|
|
|
|
| 1 |
+
#### Non-virtual members <a id="syserr.errcat.nonvirtuals">[[syserr.errcat.nonvirtuals]]</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
bool operator==(const error_category& rhs) const noexcept;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* `this == &rhs`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
+
strong_ordering operator<=>(const error_category& rhs) const noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
+
*Returns:* `compare_three_way()(this, &rhs)`.
|
| 14 |
|
| 15 |
+
[*Note 1*: `compare_three_way` [[comparisons.three.way]] provides a
|
| 16 |
+
total ordering for pointers. — *end note*]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|