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

Return an `VariantPrinter` that prints the specified `data`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;VARIANT&gt;
static
xref:BloombergLP/bdlb/VariantPrinter.adoc[VariantPrinter&lt;t&lowbar;VARIANT&gt;]
makePrinter(t&lowbar;VARIANT const& data);
----

== Return Value

a `VariantPrinter` that prints `data`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data*
| variant whose value is to be printed
|===


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