Glossary: Software Design Patterns in C++
std::optional
Also written: optional, std::nullopt
A value that may or may not be present: it holds a message or is empty (`std::nullopt`), and counts as true in an `if` when it holds one. The order checks return one to report an error or nothing.