std::optional Creation
This lesson explains the different ways of creating std::optional variables.
We'll cover the following...
There are several ways to create std::optional:
- Initialise as empty
- Directly with a value
- With a value