From Jason Turner

[syserr.errcode.nonmembers]

Diff to HTML by rtfpessoa

tmp/tmp13u_4e2s/{from.md → to.md} RENAMED
@@ -4,21 +4,13 @@
4
  error_code make_error_code(errc e) noexcept;
5
  ```
6
 
7
  *Returns:* `error_code(static_cast<int>(e), generic_category())`.
8
 
9
- ``` cpp
10
- bool operator<(const error_code& lhs, const error_code& rhs) noexcept;
11
- ```
12
-
13
- *Returns:*
14
- `lhs.category() < rhs.category() || lhs.category() == rhs.category() && lhs.value() < rhs.value()`.
15
-
16
  ``` cpp
17
  template <class charT, class traits>
18
  basic_ostream<charT, traits>&
19
  operator<<(basic_ostream<charT, traits>& os, const error_code& ec);
20
  ```
21
 
22
- *Effects:*
23
- `os <``<`` ec.category().name() <``<`` ’:’ <``<`` ec.value()`.
24
 
 
4
  error_code make_error_code(errc e) noexcept;
5
  ```
6
 
7
  *Returns:* `error_code(static_cast<int>(e), generic_category())`.
8
 
 
 
 
 
 
 
 
9
  ``` cpp
10
  template <class charT, class traits>
11
  basic_ostream<charT, traits>&
12
  operator<<(basic_ostream<charT, traits>& os, const error_code& ec);
13
  ```
14
 
15
+ *Effects:* As if by: `os << ec.category().name() << ’:’ << ec.value();`
 
16