From Jason Turner

[runtime.error]

Diff to HTML by rtfpessoa

tmp/tmpehlpeonr/{from.md → to.md} RENAMED
@@ -2,27 +2,27 @@
2
 
3
  ``` cpp
4
  namespace std {
5
  class runtime_error : public exception {
6
  public:
7
- explicit runtime_error(const string& what_arg);
8
- explicit runtime_error(const char* what_arg);
9
  };
10
  }
11
  ```
12
 
13
  The class `runtime_error` defines the type of objects thrown as
14
  exceptions to report errors presumably detectable only when the program
15
  executes.
16
 
17
  ``` cpp
18
- runtime_error(const string& what_arg);
19
  ```
20
 
21
  *Ensures:* `strcmp(what(), what_arg.c_str()) == 0`.
22
 
23
  ``` cpp
24
- runtime_error(const char* what_arg);
25
  ```
26
 
27
  *Ensures:* `strcmp(what(), what_arg) == 0`.
28
 
 
2
 
3
  ``` cpp
4
  namespace std {
5
  class runtime_error : public exception {
6
  public:
7
+ constexpr explicit runtime_error(const string& what_arg);
8
+ constexpr explicit runtime_error(const char* what_arg);
9
  };
10
  }
11
  ```
12
 
13
  The class `runtime_error` defines the type of objects thrown as
14
  exceptions to report errors presumably detectable only when the program
15
  executes.
16
 
17
  ``` cpp
18
+ constexpr runtime_error(const string& what_arg);
19
  ```
20
 
21
  *Ensures:* `strcmp(what(), what_arg.c_str()) == 0`.
22
 
23
  ``` cpp
24
+ constexpr runtime_error(const char* what_arg);
25
  ```
26
 
27
  *Ensures:* `strcmp(what(), what_arg) == 0`.
28