[#BloombergLP-bslx-InStreamFunctions-bdexStreamIn-0fc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/InStreamFunctions.adoc[InStreamFunctions]::bdexStreamIn :relfileprefix: ../../../ :mrdocs: `bdexStreamIn` 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`. If `stream` is initially invalid, this operation has no effect. If needed, first read the version information from the `stream` and if this version is not supported by `VALUE_TYPE`, `stream` is invalidated, but otherwise unmodified. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. Note that the version is only needed when the (template parameter) `VALUE_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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class VALUE_TYPE> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c6.adoc[bdexStreamIn]( STREAM& stream, VALUE_TYPE& variable); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c6.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<VALUE_TYPE, ALLOC>` value read from the specified input `stream`, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. First read the version information from the `stream` and if this version is not supported by `VALUE_TYPE` and the vector is not empty, `stream` is invalidated, but otherwise unmodified. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-090.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<VALUE_TYPE, ALLOC>]& variable); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-090.adoc[_» more..._]# Assign to the specified `variable` the `bsls::Types::Int64` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0d1.adoc[bdexStreamIn]( STREAM& stream, xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0d1.adoc[_» more..._]# Assign to the specified `variable` the `bsls::Types::Uint64` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0a4.adoc[bdexStreamIn]( STREAM& stream, xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0a4.adoc[_» more..._]# Assign to the specified `variable` the `bool` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-02.adoc[bdexStreamIn]( STREAM& stream, bool& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-02.adoc[_» more..._]# Assign to the specified `variable` the `char` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f7e.adoc[bdexStreamIn]( STREAM& stream, char& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f7e.adoc[_» more..._]# Assign to the specified `variable` the `double` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-047.adoc[bdexStreamIn]( STREAM& stream, double& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-047.adoc[_» more..._]# Assign to the specified `variable` the `float` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f77.adoc[bdexStreamIn]( STREAM& stream, float& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f77.adoc[_» more..._]# Assign to the specified `variable` the `int` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0d6.adoc[bdexStreamIn]( STREAM& stream, int& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0d6.adoc[_» more..._]# Assign to the specified `variable` the 32‐bit `int` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0fd.adoc[bdexStreamIn]( STREAM& stream, long& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0fd.adoc[_» more..._]# Assign to the specified `variable` the `short` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f5.adoc[bdexStreamIn]( STREAM& stream, short& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f5.adoc[_» more..._]# Assign to the specified `variable` the `signed char` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-049.adoc[bdexStreamIn]( STREAM& stream, signed char& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-049.adoc[_» more..._]# Assign to the specified `variable` the `bsl::string` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c3.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/string.adoc[bsl::string]& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c3.adoc[_» more..._]# Assign to the specified `variable` the `unsigned char` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-05.adoc[bdexStreamIn]( STREAM& stream, unsigned char& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-05.adoc[_» more..._]# Assign to the specified `variable` the `unsigned int` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c2.adoc[bdexStreamIn]( STREAM& stream, unsigned int& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c2.adoc[_» more..._]# Assign to the specified `variable` the 32‐bit `unsigned int` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-099.adoc[bdexStreamIn]( STREAM& stream, unsigned long& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-099.adoc[_» more..._]# Assign to the specified `variable` the `unsigned short` value read from the specified input `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0b.adoc[bdexStreamIn]( STREAM& stream, unsigned short& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0b.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. 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/bdexStreamIn-08.adoc[bdexStreamIn]( STREAM& stream, VALUE_TYPE& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-08.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<bsls::Types::Int64, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f7d.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<bsls::Types::Int64, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f7d.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<bsls::Types::Uint64, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0ae.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<bsls::Types::Uint64, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0ae.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<char, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c9.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<char, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c9.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<double, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-092.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<double, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-092.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<float, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-00.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<float, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-00.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<int, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-04c.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<int, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-04c.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<short, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0a9.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<short, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0a9.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<signed char, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-041.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<signed char, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-041.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<unsigned char, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f8.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<unsigned char, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f8.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<unsigned int, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-06.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<unsigned int, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-06.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<unsigned short, ALLOC>` 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 `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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 ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-04f.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<unsigned short, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-04f.adoc[_» more..._]# Assign to the specified `variable` the `bsl::vector<VALUE_TYPE, ALLOC>` 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` and the vector is not empty, `stream` is invalidated, but otherwise unmodified. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. 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, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0fb.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<VALUE_TYPE, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0fb.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#