-
#include "tensorstore/util/result.h"
-
template <typename T>
T&& tensorstore::UnwrapResult(T&& t); -
template <typename T>
const T& tensorstore::UnwrapResult(const Result<T>& t); -
template <typename T>
T& tensorstore::UnwrapResult(Result<T>& t); -
template <typename T>
T&& tensorstore::UnwrapResult(Result<T>&& t); UnwrapResult returns the value contained by the Result<T> instance,
*t
, or the value,t
.