[#BloombergLP-bslx-InStreamFunctions-bdexStreamInImp-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/InStreamFunctions.adoc[InStreamFunctions]::bdexStreamInImp :relfileprefix: ../../../ :mrdocs: `bdexStreamInImp` overloads == Synopses Declared in `<bslx_instreamfunctions.h>` Assign to the specified `variable` the `VALUE_TYPE` value read from the specified input `stream`, and return a reference to `stream`. The specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `version` is not supported by `VALUE_TYPE`, `variable` is unaltered and `stream` is invalidated, but otherwise unmodified. If `version` is supported but `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. Note that this function is called only for enumeration types and 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 VALUE_TYPE> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamInImp-09.adoc[bdexStreamInImp]( STREAM& stream, VALUE_TYPE& variable, int version, xref:BloombergLP/bslx/InStreamFunctions/IsEnumType.adoc[IsEnumType] const&); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamInImp-09.adoc[_» more..._]# Assign to the specified `variable` the `VALUE_TYPE` value read from the specified input `stream` using the specified `version` format, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If `version` is not supported by `VALUE_TYPE`, `variable` is unaltered and `stream` is invalidated, but otherwise unmodified. If `version` is supported but `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 VALUE_TYPE> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamInImp-02.adoc[bdexStreamInImp]( STREAM& stream, VALUE_TYPE& variable, int version, xref:BloombergLP/bslx/InStreamFunctions/IsNotEnumType.adoc[IsNotEnumType] const&); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamInImp-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#