[#BloombergLP-bdlt-MonthOfYear-bdexStreamOut]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/MonthOfYear.adoc[MonthOfYear]::bdexStreamOut
:relfileprefix: ../../../
:mrdocs:

Write the value of the specified `value`, using the specified `version` format, to the specified output `stream`, and return a reference to `stream`&period; If `stream` is initially invalid, this operation has no effect&period; If `version` is not supported, `stream` is invalidated, but otherwise unmodified&period; Note that `version` is not written to `stream`&period; See the `bslx` package&hyphen;level documentation for more information on BDEX streaming of value&hyphen;semantic types and containers&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;monthofyear&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
static
STREAM&
bdexStreamOut(
    STREAM& stream,
    xref:BloombergLP/bdlt/MonthOfYear/Enum.adoc[MonthOfYear::Enum] value,
    int version);
----


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