From Jason Turner

[logic.error]

Diff to HTML by rtfpessoa

tmp/tmp45b2blr1/{from.md → to.md} RENAMED
@@ -16,17 +16,13 @@ as violations of logical preconditions or class invariants.
16
 
17
  ``` cpp
18
  logic_error(const string& what_arg);
19
  ```
20
 
21
- *Effects:* Constructs an object of class `logic_error`.
22
-
23
- *Postconditions:* `strcmp(what(), what_arg.c_str()) == 0`.
24
 
25
  ``` cpp
26
  logic_error(const char* what_arg);
27
  ```
28
 
29
- *Effects:* Constructs an object of class `logic_error`.
30
-
31
- *Postconditions:* `strcmp(what(), what_arg) == 0`.
32
 
 
16
 
17
  ``` cpp
18
  logic_error(const string& what_arg);
19
  ```
20
 
21
+ *Ensures:* `strcmp(what(), what_arg.c_str()) == 0`.
 
 
22
 
23
  ``` cpp
24
  logic_error(const char* what_arg);
25
  ```
26
 
27
+ *Ensures:* `strcmp(what(), what_arg) == 0`.
 
 
28