tmp/tmpxjdgakwi/{from.md → to.md}
RENAMED
|
@@ -5,20 +5,20 @@
|
|
| 5 |
``` cpp
|
| 6 |
namespace std {
|
| 7 |
class bad_alloc : public exception {
|
| 8 |
public:
|
| 9 |
// see [exception] for the specification of the special member functions
|
| 10 |
-
const char* what() const noexcept override;
|
| 11 |
};
|
| 12 |
}
|
| 13 |
```
|
| 14 |
|
| 15 |
The class `bad_alloc` defines the type of objects thrown as exceptions
|
| 16 |
by the implementation to report a failure to allocate storage.
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
-
const char* what() const noexcept override;
|
| 20 |
```
|
| 21 |
|
| 22 |
*Returns:* An *implementation-defined* NTBS.
|
| 23 |
|
| 24 |
#### Class `bad_array_new_length` <a id="new.badlength">[[new.badlength]]</a>
|
|
@@ -26,22 +26,22 @@ const char* what() const noexcept override;
|
|
| 26 |
``` cpp
|
| 27 |
namespace std {
|
| 28 |
class bad_array_new_length : public bad_alloc {
|
| 29 |
public:
|
| 30 |
// see [exception] for the specification of the special member functions
|
| 31 |
-
const char* what() const noexcept override;
|
| 32 |
};
|
| 33 |
}
|
| 34 |
```
|
| 35 |
|
| 36 |
The class `bad_array_new_length` defines the type of objects thrown as
|
| 37 |
exceptions by the implementation to report an attempt to allocate an
|
| 38 |
array of size less than zero or greater than an *implementation-defined*
|
| 39 |
limit [[expr.new]].
|
| 40 |
|
| 41 |
``` cpp
|
| 42 |
-
const char* what() const noexcept override;
|
| 43 |
```
|
| 44 |
|
| 45 |
*Returns:* An *implementation-defined* NTBS.
|
| 46 |
|
| 47 |
#### Type `new_handler` <a id="new.handler">[[new.handler]]</a>
|
|
|
|
| 5 |
``` cpp
|
| 6 |
namespace std {
|
| 7 |
class bad_alloc : public exception {
|
| 8 |
public:
|
| 9 |
// see [exception] for the specification of the special member functions
|
| 10 |
+
constexpr const char* what() const noexcept override;
|
| 11 |
};
|
| 12 |
}
|
| 13 |
```
|
| 14 |
|
| 15 |
The class `bad_alloc` defines the type of objects thrown as exceptions
|
| 16 |
by the implementation to report a failure to allocate storage.
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
+
constexpr const char* what() const noexcept override;
|
| 20 |
```
|
| 21 |
|
| 22 |
*Returns:* An *implementation-defined* NTBS.
|
| 23 |
|
| 24 |
#### Class `bad_array_new_length` <a id="new.badlength">[[new.badlength]]</a>
|
|
|
|
| 26 |
``` cpp
|
| 27 |
namespace std {
|
| 28 |
class bad_array_new_length : public bad_alloc {
|
| 29 |
public:
|
| 30 |
// see [exception] for the specification of the special member functions
|
| 31 |
+
constexpr const char* what() const noexcept override;
|
| 32 |
};
|
| 33 |
}
|
| 34 |
```
|
| 35 |
|
| 36 |
The class `bad_array_new_length` defines the type of objects thrown as
|
| 37 |
exceptions by the implementation to report an attempt to allocate an
|
| 38 |
array of size less than zero or greater than an *implementation-defined*
|
| 39 |
limit [[expr.new]].
|
| 40 |
|
| 41 |
``` cpp
|
| 42 |
+
constexpr const char* what() const noexcept override;
|
| 43 |
```
|
| 44 |
|
| 45 |
*Returns:* An *implementation-defined* NTBS.
|
| 46 |
|
| 47 |
#### Type `new_handler` <a id="new.handler">[[new.handler]]</a>
|