[#BloombergLP-bslx-OutStreamFunctions-bdexStreamOut-004] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/OutStreamFunctions.adoc[OutStreamFunctions]::bdexStreamOut :relfileprefix: ../../../ :mrdocs: Write the specified `bsl::string` `value` to the specified output `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. 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> STREAM& bdexStreamOut( STREAM& stream, xref:bsl/string.adoc[bsl::string] const& value, int version = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#