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.
Synopsis
Declared in <bslx_instreamfunctions.h>
template<
class STREAM,
class VALUE_TYPE,
class ALLOC>
STREAM&
bdexStreamIn(
STREAM& stream,
bsl::vector<VALUE_TYPE, ALLOC>& variable,
int version);
Created with MrDocs