#include "tensorstore/util/result.h"
template <typename T>
T&tensorstore::UnwrapResult(T&t);
template <typename T>
const Ttensorstore::UnwrapResult(const Result<T>t);
template <typename T>
Ttensorstore::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.