Dear All

 

In attachment you can find a draft proposal of a function std::value_or, similar to std::optional::value_or.

In previous threads I called it coalesce.

 

Can you please tell me your opinion?

 

Best Regards

Roberto