[#BloombergLP-bdex_OutStreamFunctions-streamOut-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdex_OutStreamFunctions.adoc[bdex&lowbar;OutStreamFunctions]::streamOut
:relfileprefix: ../../
:mrdocs:

Write a `MonthOfYear&colon;&colon;Enum` to the specified BDEX output `stream`&period;

== Synopsis

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

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

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream receiving the BDEX encoding
| *value*
| enumeration value to stream
| *version*
| BDEX format version to use
|===


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