From Jason Turner

[optional.bad.access]

Diff to HTML by rtfpessoa

tmp/tmp9556dnqs/{from.md → to.md} RENAMED
@@ -1,21 +1,20 @@
1
  ### Class `bad_optional_access` <a id="optional.bad.access">[[optional.bad.access]]</a>
2
 
3
  ``` cpp
4
  class bad_optional_access : public exception {
5
  public:
6
- bad_optional_access();
 
7
  };
8
  ```
9
 
10
  The class `bad_optional_access` defines the type of objects thrown as
11
  exceptions to report the situation where an attempt is made to access
12
  the value of an optional object that does not contain a value.
13
 
14
  ``` cpp
15
- bad_optional_access();
16
  ```
17
 
18
- *Effects:* Constructs an object of class `bad_optional_access`.
19
-
20
- *Postconditions:* `what()` returns an *implementation-defined* NTBS.
21
 
 
1
  ### Class `bad_optional_access` <a id="optional.bad.access">[[optional.bad.access]]</a>
2
 
3
  ``` cpp
4
  class bad_optional_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
  The class `bad_optional_access` defines the type of objects thrown as
12
  exceptions to report the situation where an attempt is made to access
13
  the value of an optional object that does not contain a value.
14
 
15
  ``` cpp
16
+ const char* what() const noexcept override;
17
  ```
18
 
19
+ *Returns:* An *implementation-defined* NTBS.
 
 
20