BloombergLP::bdlt::bdexStreamOut

Write the specified value, using the specified version format, to the specified output stream, and return a reference to stream. If stream is initially invalid, this operation has no effect. If version is not supported by MonthOfYear, stream is invalidated, but otherwise unmodified. The behavior is undefined unless STREAM is BDEX-compliant. Note that version is not written to stream. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.

Synopsis

Declared in <bdlt_monthofyear.h>

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    MonthOfYear::Enum const& value,
    int version);