From Jason Turner

[underflow.error]

Diff to HTML by rtfpessoa

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