-
#include "tensorstore/util/result.h"
-
template <typename U>
requires std::is_convertible_v<
std::add_const_t<std::add_lvalue_reference_t<U>>,
T>
Result& tensorstore::Result<T>::operator=(const Result<U>& rhs); -
template <typename U>
requires (!std::is_same_v<T, U>) &&
std::is_convertible_v<std::add_rvalue_reference_t<U>, T>
Result& tensorstore::Result<T>::operator=(Result<U>&& rhs); Assigns from an existing result with a convertible value type.