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

Write the value of the specified `rhs` object to the specified output `stream` in a single&hyphen;line format, and return a reference to the modifyable `stream`&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datumerror&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
operator&lt;&lt;(
    std::ostream& stream,
    xref:BloombergLP/bdld/DatumError.adoc[DatumError] const& rhs);
----

== Description

If `stream` is not valid on entry, this operation has no effect&period; Note that this human&hyphen;readable format is not fully specified, can change without notice, and is logically equivalent to&colon; &grave; print(stream, 0, &hyphen;1)&semi; &grave; Single line output format for the `DatumError` object is shown below&colon; &grave; error(n) error(n,&apos;msg&apos;) &grave; (where n is the integer error code value and `msg` is the error message value in single quotes)&period; Note that the first version will be output if there is no error message string&period;

== Return Value

reference to the modifyable `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream
| *rhs*
| object to write
|===


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