#include "tensorstore/util/result.h" template <template <typename...> class MapType, typename... T>using tensorstore::FlatMapResultType = Result<MapType<UnwrapResultType<T>...>>; Type alias that maps Result<T> to Result<U>, where U = MapType<U>.