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