From Jason Turner

[syserr.syserr.members]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpgv23oz1x/{from.md → to.md} +12 -9
tmp/tmpgv23oz1x/{from.md → to.md} RENAMED
@@ -27,23 +27,21 @@ system_error(error_code ec);
27
  *Effects:* Constructs an object of class `system_error`.
28
 
29
  *Postconditions:* `code() == ec`.
30
 
31
  ``` cpp
32
- system_error(int ev, const error_category& ecat,
33
- const string& what_arg);
34
  ```
35
 
36
  *Effects:* Constructs an object of class `system_error`.
37
 
38
  *Postconditions:* `code() == error_code(ev, ecat)`.
39
 
40
  `string(what()).find(what_arg) != string::npos`.
41
 
42
  ``` cpp
43
- system_error(int ev, const error_category& ecat,
44
- const char* what_arg);
45
  ```
46
 
47
  *Effects:* Constructs an object of class `system_error`.
48
 
49
  *Postconditions:* `code() == error_code(ev, ecat)`.
@@ -64,23 +62,28 @@ const error_code& code() const noexcept;
64
 
65
  *Returns:* `ec` or `error_code(ev, ecat)`, from the constructor, as
66
  appropriate.
67
 
68
  ``` cpp
69
- const char* what() const noexcept;
70
  ```
71
 
72
  *Returns:* An NTBSincorporating the arguments supplied in the
73
  constructor.
74
 
75
- The returned NTBS might be the contents of
76
- `what_arg + ": " + code.message()`.
77
 
78
  <!-- Link reference definitions -->
79
  [assertions]: #assertions
 
80
  [bad.alloc]: language.md#bad.alloc
 
 
81
  [comparisons]: utilities.md#comparisons
 
 
82
  [diagnostics]: #diagnostics
83
  [diagnostics.general]: #diagnostics.general
84
  [domain.error]: #domain.error
85
  [errno]: #errno
86
  [invalid.argument]: #invalid.argument
@@ -90,10 +93,11 @@ The returned NTBS might be the contents of
90
  [overflow.error]: #overflow.error
91
  [range.error]: #range.error
92
  [res.on.exception.handling]: library.md#res.on.exception.handling
93
  [runtime.error]: #runtime.error
94
  [std.exceptions]: #std.exceptions
 
95
  [syserr]: #syserr
96
  [syserr.compare]: #syserr.compare
97
  [syserr.errcat]: #syserr.errcat
98
  [syserr.errcat.derived]: #syserr.errcat.derived
99
  [syserr.errcat.nonvirtuals]: #syserr.errcat.nonvirtuals
@@ -114,10 +118,9 @@ The returned NTBS might be the contents of
114
  [syserr.errcondition.overview]: #syserr.errcondition.overview
115
  [syserr.hash]: #syserr.hash
116
  [syserr.syserr]: #syserr.syserr
117
  [syserr.syserr.members]: #syserr.syserr.members
118
  [syserr.syserr.overview]: #syserr.syserr.overview
119
- [tab:diagnostics.hdr.cassert]: #tab:diagnostics.hdr.cassert
120
- [tab:diagnostics.hdr.cerrno]: #tab:diagnostics.hdr.cerrno
121
  [tab:diagnostics.lib.summary]: #tab:diagnostics.lib.summary
122
  [underflow.error]: #underflow.error
123
  [unord.hash]: utilities.md#unord.hash
 
27
  *Effects:* Constructs an object of class `system_error`.
28
 
29
  *Postconditions:* `code() == ec`.
30
 
31
  ``` cpp
32
+ system_error(int ev, const error_category& ecat, const string& what_arg);
 
33
  ```
34
 
35
  *Effects:* Constructs an object of class `system_error`.
36
 
37
  *Postconditions:* `code() == error_code(ev, ecat)`.
38
 
39
  `string(what()).find(what_arg) != string::npos`.
40
 
41
  ``` cpp
42
+ system_error(int ev, const error_category& ecat, const char* what_arg);
 
43
  ```
44
 
45
  *Effects:* Constructs an object of class `system_error`.
46
 
47
  *Postconditions:* `code() == error_code(ev, ecat)`.
 
62
 
63
  *Returns:* `ec` or `error_code(ev, ecat)`, from the constructor, as
64
  appropriate.
65
 
66
  ``` cpp
67
+ const char* what() const noexcept override;
68
  ```
69
 
70
  *Returns:* An NTBSincorporating the arguments supplied in the
71
  constructor.
72
 
73
+ [*Note 1*: The returned NTBSmight be the contents of
74
+ `what_arg + ": " + code.message()`. — *end note*]
75
 
76
  <!-- Link reference definitions -->
77
  [assertions]: #assertions
78
+ [assertions.assert]: #assertions.assert
79
  [bad.alloc]: language.md#bad.alloc
80
+ [cassert.syn]: #cassert.syn
81
+ [cerrno.syn]: #cerrno.syn
82
  [comparisons]: utilities.md#comparisons
83
+ [conv]: conv.md#conv
84
+ [defns.const.subexpr]: library.md#defns.const.subexpr
85
  [diagnostics]: #diagnostics
86
  [diagnostics.general]: #diagnostics.general
87
  [domain.error]: #domain.error
88
  [errno]: #errno
89
  [invalid.argument]: #invalid.argument
 
93
  [overflow.error]: #overflow.error
94
  [range.error]: #range.error
95
  [res.on.exception.handling]: library.md#res.on.exception.handling
96
  [runtime.error]: #runtime.error
97
  [std.exceptions]: #std.exceptions
98
+ [stdexcept.syn]: #stdexcept.syn
99
  [syserr]: #syserr
100
  [syserr.compare]: #syserr.compare
101
  [syserr.errcat]: #syserr.errcat
102
  [syserr.errcat.derived]: #syserr.errcat.derived
103
  [syserr.errcat.nonvirtuals]: #syserr.errcat.nonvirtuals
 
118
  [syserr.errcondition.overview]: #syserr.errcondition.overview
119
  [syserr.hash]: #syserr.hash
120
  [syserr.syserr]: #syserr.syserr
121
  [syserr.syserr.members]: #syserr.syserr.members
122
  [syserr.syserr.overview]: #syserr.syserr.overview
123
+ [system_error.syn]: #system_error.syn
 
124
  [tab:diagnostics.lib.summary]: #tab:diagnostics.lib.summary
125
  [underflow.error]: #underflow.error
126
  [unord.hash]: utilities.md#unord.hash