BloombergLP::bdlb::VariantPrinterUtil

Utility for creating VariantPrinter objects with deduced template arguments.

Synopsis

Declared in <bdlb_variantprinter.h>

struct VariantPrinterUtil;

Description

This utility struct provides a namespace for a function that creates a bdlb::VariantPrinter with its template argument deduced from a given instance of bsl::variant.

Static Member Functions

NameDescription
makePrinter Return an VariantPrinter that prints the specified data.