Encode the specified object to the specified stream without instantiating encoding templates at compile time.
Declared in <balxml_encoder.h>
int
encodeAnyToStream(
std::ostream& stream,
bdlar::AnyConstRef const& object);
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| stream | output stream to receive XML |
| object | type-erased value to encode |