Search⌘ K

Summary

Explore std::optional in C++17 to understand how it manages nullable values safely and efficiently. Learn to access values using operators and check their presence with implicit bool conversion.

We'll cover the following...

A few core elements to know about std::optional:

  • std::optional is a wrapper type to ...