During last week's LWG telecon there was a strong preference expressed for using `has_value()` or prose "contains a value" instead of `bool(*this)`. Should we do the same for `std::optional`?
Activity
jensmaurer commentedon Sep 13, 2021
At least for those parts where we talk about the boolean conversions, yes. I'm not sure adjusting "*this contains a value" yields a net benefit.