[#BloombergLP-bslx-OutStreamFunctions-bdexStreamOut-0c26] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/OutStreamFunctions.adoc[OutStreamFunctions]::bdexStreamOut :relfileprefix: ../../../ :mrdocs: Write the specified `value` to the specified output `stream`, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If needed, first write the computed version information to the `stream` and if this version is not supported by `TYPE`, `stream` is invalidated. Note that the version is only needed when the (template parameter) `TYPE` is a `bsl::vector` or a user‐defined type. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. == Synopsis Declared in `<bslx_outstreamfunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class TYPE> STREAM& bdexStreamOut( STREAM& stream, TYPE const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#