BDEX‐stream value to stream using the specified version.

Synopsis

Declared in <bslx_outstreamfunctions.h>

template<
    class STREAM,
    class TYPE>
STREAM&
bdexStreamOutImp(
    STREAM& stream,
    TYPE const& value,
    int version,
    IsNotEnumType const& category);

Description

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 TYPE, stream is invalidated, but otherwise unmodified. Note that version is not written to stream. Also note that this function is for internal use only. 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

Name

Description

stream

output stream to write to

value

value to externalize

version

format version to use

category

tag selecting the non‐enumeration overload

Created with MrDocs