Stringifies the value or the status of a StatusOr<T>.
Declared in <absl/status/statusor.h>
template<
typename Sink,
typename T>
requires absl::HasAbslStringify<T>::value
void
AbslStringify(
Sink& sink,
StatusOr<T> const& status_or);
As above, but supports StrCat, StrFormat, etc.
Requires T has AbslStringify. Do not rely on the output format which may change without notice.
| Name | Description |
|---|---|
| sink | The stringify sink to write to. |
| status_or | The object to stringify. |