Write this value to the specified output stream using version.

Synopsis

Declared in <bdlt_calendar.h>

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    int version) const;

Description

Write this value to the specified output stream using the specified version format and return a reference to the modifiable stream. If version is not supported, stream is unmodified. 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.

Return Value

a reference to the modifiable stream

Parameters

Name

Description

stream

output stream receiving the BDEX encoding

version

BDEX format version to use

Created with MrDocs