<beman/optional/optional.hpp>
template<class U = std::remove_cv_t<T>>
constexpr
T
value_or(U&& u) const &;
» more...
Returns a reference to the stored value.
template<class U = std::remove_cv_t<T>>
constexpr
T
value_or(U&& u) &&;
» more...
Name | Description |
---|---|
U |
Name | Description |
---|---|
u |