From Jason Turner

[syserr.errcat.overview]

Diff to HTML by rtfpessoa

tmp/tmpiq1rl797/{from.md → to.md} RENAMED
@@ -2,14 +2,16 @@
2
 
3
  The class `error_category` serves as a base class for types used to
4
  identify the source and encoding of a particular category of error code.
5
  Classes may be derived from `error_category` to support categories of
6
  errors in addition to those defined in this International Standard. Such
7
- classes shall behave as specified in this subclause. `error_category`
8
- objects are passed by reference, and two such objects are equal if they
9
- have the same address. This means that applications using custom
10
- `error_category` types should create a single object of each such type.
 
 
11
 
12
  ``` cpp
13
  namespace std {
14
  class error_category {
15
  public:
@@ -28,9 +30,8 @@ namespace std {
28
  bool operator<(const error_category& rhs) const noexcept;
29
  };
30
 
31
  const error_category& generic_category() noexcept;
32
  const error_category& system_category() noexcept;
33
-
34
- } // namespace std
35
  ```
36
 
 
2
 
3
  The class `error_category` serves as a base class for types used to
4
  identify the source and encoding of a particular category of error code.
5
  Classes may be derived from `error_category` to support categories of
6
  errors in addition to those defined in this International Standard. Such
7
+ classes shall behave as specified in this subclause.
8
+
9
+ [*Note 1*: `error_category` objects are passed by reference, and two
10
+ such objects are equal if they have the same address. This means that
11
+ applications using custom `error_category` types should create a single
12
+ object of each such type. — *end note*]
13
 
14
  ``` cpp
15
  namespace std {
16
  class error_category {
17
  public:
 
30
  bool operator<(const error_category& rhs) const noexcept;
31
  };
32
 
33
  const error_category& generic_category() noexcept;
34
  const error_category& system_category() noexcept;
35
+ }
 
36
  ```
37