From Jason Turner

[domain.error]

Diff to HTML by rtfpessoa

tmp/tmpz0ssvkvb/{from.md → to.md} RENAMED
@@ -17,15 +17,15 @@ exceptions by the implementation to report domain errors.
17
  domain_error(const string& what_arg);
18
  ```
19
 
20
  *Effects:* Constructs an object of class `domain_error`.
21
 
22
- `strcmp(what(), what_arg.c_str()) == 0`.
23
 
24
  ``` cpp
25
  domain_error(const char* what_arg);
26
  ```
27
 
28
  *Effects:* Constructs an object of class `domain_error`.
29
 
30
- `strcmp(what(), what_arg) == 0`.
31
 
 
17
  domain_error(const string& what_arg);
18
  ```
19
 
20
  *Effects:* Constructs an object of class `domain_error`.
21
 
22
+ *Postconditions:* `strcmp(what(), what_arg.c_str()) == 0`.
23
 
24
  ``` cpp
25
  domain_error(const char* what_arg);
26
  ```
27
 
28
  *Effects:* Constructs an object of class `domain_error`.
29
 
30
+ *Postconditions:* `strcmp(what(), what_arg) == 0`.
31