MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vnp8dk/c26_stdindirect/p3o13sm/?context=3
r/cpp • u/User_Deprecated • Aug 13 '26
157 comments sorted by
View all comments
Show parent comment
-3
Horrible design. Agreed. They could have just modeled the optionality and exposed it like std::optional does with has_value, value_or, .value() that throws, etc.
View all comments
Show parent comment
-3
u/NilacTheGrim Aug 14 '26
Horrible design. Agreed. They could have just modeled the optionality and exposed it like std::optional does with has_value, value_or, .value() that throws, etc.