tmp/tmpoqrc3p44/{from.md → to.md}
RENAMED
|
@@ -3,19 +3,20 @@
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
class bad_variant_access : 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 |
Objects of type `bad_variant_access` are thrown to report invalid
|
| 14 |
accesses to the value of a `variant` object.
|
| 15 |
|
| 16 |
``` cpp
|
| 17 |
-
const char* what() const noexcept override;
|
| 18 |
```
|
| 19 |
|
| 20 |
-
*Returns:* An *implementation-defined* NTBS
|
|
|
|
| 21 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
class bad_variant_access : 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 |
Objects of type `bad_variant_access` are thrown to report invalid
|
| 14 |
accesses to the value of a `variant` object.
|
| 15 |
|
| 16 |
``` cpp
|
| 17 |
+
constexpr const char* what() const noexcept override;
|
| 18 |
```
|
| 19 |
|
| 20 |
+
*Returns:* An *implementation-defined* NTBS, which during constant
|
| 21 |
+
evaluation is encoded with the ordinary literal encoding [[lex.ccon]].
|
| 22 |
|