Utility for printing bsl::variant to standard output streams. This class has operator<< defined for it, so it can be used, for example, in ball logs.
Declared in <bdlb_variantprinter.h>
template<class t_VARIANT>
class VariantPrinter;
| Name | Description |
|---|---|
VariantPrinter [constructor] | Create VariantPrinter with the specified data. |
print | Format this object to the specified output stream. |
operator BloombergLP::bslmf::NestedTraitDeclaration<VariantPrinter, EnableStreamedFormatter> | Declare that this type enables the streamed formatter. |