From Jason Turner

[length.error]

Diff to HTML by rtfpessoa

tmp/tmpdlykwsok/{from.md → to.md} RENAMED
@@ -2,27 +2,27 @@
2
 
3
  ``` cpp
4
  namespace std {
5
  class length_error : public logic_error {
6
  public:
7
- explicit length_error(const string& what_arg);
8
- explicit length_error(const char* what_arg);
9
  };
10
  }
11
  ```
12
 
13
  The class `length_error` defines the type of objects thrown as
14
  exceptions to report an attempt to produce an object whose length
15
  exceeds its maximum allowable size.
16
 
17
  ``` cpp
18
- length_error(const string& what_arg);
19
  ```
20
 
21
  *Ensures:* `strcmp(what(), what_arg.c_str()) == 0`.
22
 
23
  ``` cpp
24
- length_error(const char* what_arg);
25
  ```
26
 
27
  *Ensures:* `strcmp(what(), what_arg) == 0`.
28
 
 
2
 
3
  ``` cpp
4
  namespace std {
5
  class length_error : public logic_error {
6
  public:
7
+ constexpr explicit length_error(const string& what_arg);
8
+ constexpr explicit length_error(const char* what_arg);
9
  };
10
  }
11
  ```
12
 
13
  The class `length_error` defines the type of objects thrown as
14
  exceptions to report an attempt to produce an object whose length
15
  exceeds its maximum allowable size.
16
 
17
  ``` cpp
18
+ constexpr length_error(const string& what_arg);
19
  ```
20
 
21
  *Ensures:* `strcmp(what(), what_arg.c_str()) == 0`.
22
 
23
  ``` cpp
24
+ constexpr length_error(const char* what_arg);
25
  ```
26
 
27
  *Ensures:* `strcmp(what(), what_arg) == 0`.
28