[#BloombergLP-bslx-InStreamFunctions-bdexStreamIn-04c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/InStreamFunctions.adoc[InStreamFunctions]::bdexStreamIn :relfileprefix: ../../../ :mrdocs: Assign a `bsl::vector<int>` read from `stream` to `variable`. == Synopsis Declared in `<bslx_instreamfunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& bdexStreamIn( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<int, ALLOC>]& variable, int version); ---- == Description 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. == Return Value a reference to `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | input stream from which to read | *variable* | object to receive the unexternalized value | *version* | ignored BDEX version (accepted for overload uniformity) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#