Load into the specified variable the DayOfWeek::Enum 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 DayOfWeek, variable is unaltered and stream is invalidated, but otherwise unmodified. If version is supported by DayOfWeek but stream becomes invalid during this operation, variable has an undefined, but valid, state. The behavior is undefined unless STREAM is BDEX-compliant. Note that no version is read from stream. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.
Declared in <bdlt_dayofweek.h>
template<class STREAM>
STREAM&
bdexStreamIn(
STREAM& stream,
DayOfWeek::Enum& variable,
int version);