Write the specified object to the specified stream.

Synopsis

Declared in <bdlb_variant.h>

template<class TYPES>
std::ostream&
operator<<(
    std::ostream& stream,
    VariantImp<TYPES> const& object);

Description

Write in a single‐line (human‐readable) format, and return a reference to stream.

Return Value

a reference to stream

Parameters

Name

Description

stream

the output stream

object

the variant object to write

Created with MrDocs