From Jason Turner

[range.error]

Diff to HTML by rtfpessoa

tmp/tmpzahvcy0s/{from.md → to.md} RENAMED
@@ -15,17 +15,13 @@ to report range errors in internal computations.
15
 
16
  ``` cpp
17
  range_error(const string& what_arg);
18
  ```
19
 
20
- *Effects:* Constructs an object of class `range_error`.
21
-
22
- *Postconditions:* `strcmp(what(), what_arg.c_str()) == 0`.
23
 
24
  ``` cpp
25
  range_error(const char* what_arg);
26
  ```
27
 
28
- *Effects:* Constructs an object of class `range_error`.
29
-
30
- *Postconditions:* `strcmp(what(), what_arg) == 0`.
31
 
 
15
 
16
  ``` cpp
17
  range_error(const string& what_arg);
18
  ```
19
 
20
+ *Ensures:* `strcmp(what(), what_arg.c_str()) == 0`.
 
 
21
 
22
  ``` cpp
23
  range_error(const char* what_arg);
24
  ```
25
 
26
+ *Ensures:* `strcmp(what(), what_arg) == 0`.
 
 
27