Choosing Between std::optional and Sentinel Values in C++
Decide whether to use std::optional or a sentinel value for representing missing data in C++, weighing safety, storage, and domain constraints.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Decide whether to use std::optional or a sentinel value for representing missing data in C++, weighing safety, storage, and domain constraints.