[#BloombergLP-bslx-OutStreamFunctions-bdexStreamOutImp-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/OutStreamFunctions.adoc[OutStreamFunctions]::bdexStreamOutImp :relfileprefix: ../../../ :mrdocs: `bdexStreamOutImp` overloads == Synopses Declared in `<bslx_outstreamfunctions.h>` Write the specified `value` to the specified output `stream` as a 32‐bit `int`, and return a reference to `stream`. The specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. Note that this function is called only for enumeration types and that if `value` is outside the range of an `int32_t` the externalization will be lossy. Also note that this function is for internal use only. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class TYPE> STREAM& xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOutImp-078.adoc[bdexStreamOutImp]( STREAM& stream, TYPE const& value, int version, xref:BloombergLP/bslx/OutStreamFunctions/IsEnumType.adoc[IsEnumType] const&); ---- [.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOutImp-078.adoc[_» more..._]# 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 `TYPE`, `stream` is invalidated, but otherwise unmodified. Note that `version` is not written to `stream`. Also note that this function is for internal use only. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class TYPE> STREAM& xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOutImp-07b.adoc[bdexStreamOutImp]( STREAM& stream, TYPE const& value, int version, xref:BloombergLP/bslx/OutStreamFunctions/IsNotEnumType.adoc[IsNotEnumType] const&); ---- [.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOutImp-07b.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#