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...
We'll cover the following...
A few core elements to know about std::optional:
-
std::optionalis a wrapper type to ...