tmp/tmpfy4k72qh/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Class `monostate` <a id="variant.monostate">[[variant.monostate]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
struct monostate{};
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
The class `monostate` can serve as a first alternative type for a
|
| 8 |
+
`variant` to make the `variant` type default constructible.
|
| 9 |
+
|