Prints the value or the status in brackets to os.
Declared in <absl/status/statusor.h>
template<typename T>
requires absl::HasOstreamOperator<T>::value
std::ostream&
operator<<(
std::ostream& os,
StatusOr<T> const& status_or);
Requires T supports operator<<. Do not rely on the output format which may change without notice.
A reference to os.
| Name | Description |
|---|---|
| os | The output stream to write to. |
| status_or | The object to print. |