From Jason Turner

[variant.bad.access]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp1vs3vgbo/{from.md → to.md} +25 -0
tmp/tmp1vs3vgbo/{from.md → to.md} RENAMED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ bad_variant_access() noexcept;
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.
25
+