-
#include "tensorstore/util/result.h"
-
template <typename U>
constexpr T
tensorstore::Result<T>::value_or(U&& default_value) const&; -
template <typename U>
constexpr T tensorstore::Result<T>::value_or(U&& default_value) &&; Returns the contained value, or
default_value
if*this
is in an error state.