From Jason Turner

[syserr.errcat.nonvirtuals]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp7_mnsx44/{from.md → to.md} +5 -17
tmp/tmp7_mnsx44/{from.md → to.md} RENAMED
@@ -1,29 +1,17 @@
1
- #### Class `error_category` non-virtual members <a id="syserr.errcat.nonvirtuals">[[syserr.errcat.nonvirtuals]]</a>
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
- bool operator!=(const error_category& rhs) const noexcept;
17
  ```
18
 
19
- *Returns:* `!(*this == rhs)`.
20
 
21
- ``` cpp
22
- bool operator<(const error_category& rhs) const noexcept;
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