Modern C++ Features – std::optional--Arne Mertz
Spreading the knowledge.
Modern C++ Features – std::optional
by Arne Mertz
From the article:
Sometimes we want to express the state of “nothing meaningful” instead of a value. This is the use case for C++17’s std::optional...