[#BloombergLP-bdlb-VariantPrinterUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::VariantPrinterUtil
:relfileprefix: ../../
:mrdocs:

Utility for creating `VariantPrinter` objects with deduced template arguments&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;variantprinter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct VariantPrinterUtil;
----

== Description

This utility `struct` provides a namespace for a function that creates a `bdlb&colon;&colon;VariantPrinter` with its template argument deduced from a given instance of `bsl&colon;&colon;variant`&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/VariantPrinterUtil/makePrinter.adoc[`makePrinter`] 
| Return an `VariantPrinter` that prints the specified `data`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
