From Jason Turner

[variant.bad.access]

Diff to HTML by rtfpessoa

tmp/tmp7jv50yyz/{from.md → to.md} RENAMED
@@ -1,13 +1,15 @@
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
 
 
1
  ### Class `bad_variant_access` <a id="variant.bad.access">[[variant.bad.access]]</a>
2
 
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