tmp/tmp33maoi3y/{from.md → to.md}
RENAMED
|
@@ -3,21 +3,21 @@
|
|
| 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 |
|
|
|
|
| 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 |
+
constexpr 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 |
+
constexpr const char* what() const noexcept override;
|
| 20 |
```
|
| 21 |
|
| 22 |
*Returns:* An *implementation-defined* NTBS.
|
| 23 |
|