From Jason Turner

[new.badlength]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp688egj64/{from.md → to.md} +2 -12
tmp/tmp688egj64/{from.md → to.md} RENAMED
@@ -2,32 +2,22 @@
2
 
3
  ``` cpp
4
  namespace std {
5
  class bad_array_new_length : public bad_alloc {
6
  public:
7
- bad_array_new_length() noexcept;
8
  const char* what() const noexcept override;
9
  };
10
  }
11
  ```
12
 
13
  The class `bad_array_new_length` defines the type of objects thrown as
14
  exceptions by the implementation to report an attempt to allocate an
15
  array of size less than zero or greater than an *implementation-defined*
16
- limit ([[expr.new]]).
17
-
18
- ``` cpp
19
- bad_array_new_length() noexcept;
20
- ```
21
-
22
- *Effects:* constructs an object of class `bad_array_new_length`.
23
 
24
  ``` cpp
25
  const char* what() const noexcept override;
26
  ```
27
 
28
  *Returns:* An *implementation-defined* NTBS.
29
 
30
- *Remarks:* The message may be a null-terminated multibyte
31
- string ([[multibyte.strings]]), suitable for conversion and display as
32
- a `wstring` ([[string.classes]], [[locale.codecvt]]).
33
-
 
2
 
3
  ``` cpp
4
  namespace std {
5
  class bad_array_new_length : public bad_alloc {
6
  public:
7
+ // see [exception] for the specification of the special member functions
8
  const char* what() const noexcept override;
9
  };
10
  }
11
  ```
12
 
13
  The class `bad_array_new_length` defines the type of objects thrown as
14
  exceptions by the implementation to report an attempt to allocate an
15
  array of size less than zero or greater than an *implementation-defined*
16
+ limit [[expr.new]].
 
 
 
 
 
 
17
 
18
  ``` cpp
19
  const char* what() const noexcept override;
20
  ```
21
 
22
  *Returns:* An *implementation-defined* NTBS.
23