[#BloombergLP-bdlt-bdexStreamOut-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::bdexStreamOut :relfileprefix: ../../ :mrdocs: Write the specified `value`, using the specified `version` format, to the specified output `stream`, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If `version` is not supported by `DayOfWeek`, `stream` is invalidated, but otherwise unmodified. The behavior is undefined unless `STREAM` is BDEX‐compliant. Note that `version` is not written to `stream`. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. == Synopsis Declared in `<bdlt_dayofweek.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& bdexStreamOut( STREAM& stream, xref:BloombergLP/bdlt/DayOfWeek/Enum.adoc[DayOfWeek::Enum] const& value, int version); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#