tmp/tmp9ns71zf1/{from.md → to.md}
RENAMED
|
@@ -3,21 +3,21 @@
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
class bad_exception : public exception {
|
| 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_exception` defines the type of the object referenced by
|
| 14 |
the `exception_ptr` returned from a call to `current_exception`
|
| 15 |
[[propagation]] when the currently active exception object fails to
|
| 16 |
copy.
|
| 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_exception : public exception {
|
| 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_exception` defines the type of the object referenced by
|
| 14 |
the `exception_ptr` returned from a call to `current_exception`
|
| 15 |
[[propagation]] when the currently active exception object fails to
|
| 16 |
copy.
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
+
constexpr const char* what() const noexcept override;
|
| 20 |
```
|
| 21 |
|
| 22 |
*Returns:* An *implementation-defined* NTBS.
|
| 23 |
|