tmp/tmpxno_ggqs/{from.md → to.md}
RENAMED
|
@@ -1,24 +1,18 @@
|
|
| 1 |
### Class `bad_variant_access` <a id="variant.bad.access">[[variant.bad.access]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
class bad_variant_access : public exception {
|
| 5 |
public:
|
| 6 |
-
|
| 7 |
const char* what() const noexcept override;
|
| 8 |
};
|
| 9 |
```
|
| 10 |
|
| 11 |
Objects of type `bad_variant_access` are thrown to report invalid
|
| 12 |
accesses to the value of a `variant` object.
|
| 13 |
|
| 14 |
-
``` cpp
|
| 15 |
-
bad_variant_access() noexcept;
|
| 16 |
-
```
|
| 17 |
-
|
| 18 |
-
Constructs a `bad_variant_access` object.
|
| 19 |
-
|
| 20 |
``` cpp
|
| 21 |
const char* what() const noexcept override;
|
| 22 |
```
|
| 23 |
|
| 24 |
*Returns:* An *implementation-defined* NTBS.
|
|
|
|
| 1 |
### Class `bad_variant_access` <a id="variant.bad.access">[[variant.bad.access]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
class bad_variant_access : public exception {
|
| 5 |
public:
|
| 6 |
+
// see [exception] for the specification of the special member functions
|
| 7 |
const char* what() const noexcept override;
|
| 8 |
};
|
| 9 |
```
|
| 10 |
|
| 11 |
Objects of type `bad_variant_access` are thrown to report invalid
|
| 12 |
accesses to the value of a `variant` object.
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
``` cpp
|
| 15 |
const char* what() const noexcept override;
|
| 16 |
```
|
| 17 |
|
| 18 |
*Returns:* An *implementation-defined* NTBS.
|