-
#include "tensorstore/util/future.h"
-
template <typename... U>
requires (!std::is_const_v<T>) &&
std::is_constructible_v<result_type, U...>
bool tensorstore::Promise<T>::SetResult(U&&... u) const noexcept; Sets the result if it has not already been set.
The arguments are forwarded to the
result_type
constructor. :returns:true
if the result was not already set.