rhs
if it has one.
<beman/optional/optional.hpp>
constexpr
optional(optional const& other)
requires std::is_copy_constructible_v<T> && std::is_trivially_copy_constructible_v<T> = default;
Defaulted if T is trivially copy constructible.
Name | Description |
---|---|
other | The object to copy construct from |