C++ Logo

std-proposals

Advanced search

[std-proposals] std::value_or

From: <roberto.romani_at_[hidden]>
Date: Sun, 13 Nov 2022 14:27:35 +0100
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


Received on 2022-11-13 13:27:41