From Jason Turner

[logic.error]

Diff to HTML by rtfpessoa

tmp/tmpdxiu1_96/{from.md → to.md} RENAMED
@@ -18,15 +18,15 @@ as violations of logical preconditions or class invariants.
18
  logic_error(const string& what_arg);
19
  ```
20
 
21
  *Effects:* Constructs an object of class `logic_error`.
22
 
23
- `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
- `strcmp(what(), what_arg) == 0`.
32
 
 
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