Encode the specified object to the specified stream without instantiating encoding templates at compile time.

Synopsis

Declared in <balxml_encoder.h>

std::ostream&
encodeAny(
    std::ostream& stream,
    bdlar::AnyConstRef const& object);

Return Value

a reference to the modifiable stream

Parameters

Name

Description

stream

output stream to receive XML

object

type‐erased value to encode

Created with MrDocs