-
#include "tensorstore/util/result.h"
-
template <typename Sink>
requires absl::HasAbslStringify<T>::value
friend void
tensorstore::Result<T>::AbslStringify(Sink& sink,
const Result<T>& result); Prints the
value
or thestatus
in parentheses to thesink
, which allows formatting usingabsl::StrFormat
, etc. Do not rely on the output format which may change without notice.- Requires:¶
T
hasAbslStringify
.