From Jason Turner

[out.of.range]

Diff to HTML by rtfpessoa

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