[#BloombergLP-bslx-OutStreamFunctions-bdexStreamOut-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/OutStreamFunctions.adoc[OutStreamFunctions]::bdexStreamOut :relfileprefix: ../../../ :mrdocs: Write the specified `bsl::vector<TYPE, ALLOC>` `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` and the vector is not empty, `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, class ALLOC> STREAM& bdexStreamOut( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<TYPE, ALLOC>] const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#