From Jason Turner

[optional.bad.access]

Diff to HTML by rtfpessoa

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