From Jason Turner

[domain.error]

Diff to HTML by rtfpessoa

tmp/tmpip446oxh/{from.md → to.md} RENAMED
@@ -15,17 +15,13 @@ exceptions by the implementation to report domain errors.
15
 
16
  ``` cpp
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
 
 
15
 
16
  ``` cpp
17
  domain_error(const string& what_arg);
18
  ```
19
 
20
+ *Ensures:* `strcmp(what(), what_arg.c_str()) == 0`.
 
 
21
 
22
  ``` cpp
23
  domain_error(const char* what_arg);
24
  ```
25
 
26
+ *Ensures:* `strcmp(what(), what_arg) == 0`.
 
 
27