[#absl-operator_lshift-0ca]
= xref:absl.adoc[absl]::operator&lt;&lt;
:relfileprefix: ../
:mrdocs:

Prints the `value` or the status in brackets to `os`&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;statusor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
requires absl&colon;&colon;HasOstreamOperator&lt;T&gt;&colon;&colon;value
std::ostream&
operator&lt;&lt;(
    std::ostream& os,
    xref:absl/StatusOr.adoc[StatusOr&lt;T&gt;] const& status&lowbar;or);
----

== Description

Requires `T` supports `operator&lt;&lt;`&period; Do not rely on the output format which may change without notice&period;

== Return Value

A reference to `os`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *os*
| The output stream to write to&period;
| *status&lowbar;or*
| The object to print&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
