This visitor, when invoked as a non‐modifiable function object on an initialized instance of some parameterized TYPE, will stream out the value of that instance into a stream specified at construction of this visitor, using a version also specified at construction of this visitor.

Synopsis

Declared in <bdlb_variant.h>

template<class STREAM>
struct Variant_BdexStreamOutVisitor;

Member Functions

Name

Description

Variant_BdexStreamOutVisitor [constructor]

Create an output‐stream visitor writing to the specified stream using the specified BDEX version.

operator()

Function call operators

Data Members

Name

Description

d_stream

output stream (held, not owned)

d_version

BDEX format version

Created with MrDocs