[#BloombergLP-bslim-Printer-printOrNull-0bc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer.adoc[Printer]::printOrNull :relfileprefix: ../../../ :mrdocs: `printOrNull` overloads == Synopses Declared in `<bslim_printer.h>` Format the object at `address`, or print "NULL" if `address` is 0. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> void xref:BloombergLP/bslim/Printer/printOrNull-09.adoc[printOrNull]( TYPE const& address, char const* name) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printOrNull-09.adoc[_» more..._]# Print `address` as a hexadecimal pointer, prefixed by `name`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> void xref:BloombergLP/bslim/Printer/printOrNull-0bf.adoc[printOrNull<void*>]( void const*& address, char const* name) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printOrNull-0bf.adoc[_» more..._]# Print `address` as a hexadecimal pointer, prefixed by `name`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> void xref:BloombergLP/bslim/Printer/printOrNull-06.adoc[printOrNull<void const*>]( void const const*& address, char const* name) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printOrNull-06.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *address* | pointer to the object to format; "NULL" if null | *name* | attribute name printed before the value; omitted if null |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#