Representing Optional Values with std::optional

Learn to use std::optional for optional values, returns, member variables, enums, sorting, and comparisons.

Let's begin by exploring std::optional and some of its important use cases.

Get hands-on with 1200+ tech skills courses.