[#BloombergLP-bslim-Printer-printOrNull-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer.adoc[Printer]::xref:BloombergLP/bslim/Printer/printOrNull-09.adoc[printOrNull]&lt;void const*&gt;
:relfileprefix: ../../../
:mrdocs:

Print `address` as a hexadecimal pointer, prefixed by `name`&period;

== Synopsis

Declared in `&lt;bslim&lowbar;printer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
void
xref:BloombergLP/bslim/Printer/printOrNull-09.adoc[printOrNull]&lt;void const*&gt;(
    void const const*& address,
    char const* name) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *address*
| pointer value to print&semi; &quot;NULL&quot; if null
| *name*
| attribute name printed before the address&semi; omitted if null
|===


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