rhs
if it has one.
<beman/optional/optional.hpp>
template<class U>
constexpr
explicit(!std::is_convertible_v<U, T>)
optional(optional<U> const& rhs)
requires (detail::enable_from_other<T, U, const U&>);
Converting copy constructor.
Name | Description |
---|---|
U |
Name | Description |
---|---|
rhs | The object to copy construct from |