[#BloombergLP-bdlb-Print-printPtr] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Print.adoc[Print]::printPtr :relfileprefix: ../../../ :mrdocs: Print a pointer value to a stream in a standard format. == Synopsis Declared in `<bdlb_print.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void printPtr( std::ostream& stream, void const* value); ---- == Description Print to the specified `stream` the specified pointer `value` in a standard format. The output is in hexadecimal format with a maximum length of `2 * sizeof(void *)`. The output does not have leading zeros and is not preceded by `0x`. The hexadecimal digits (`a` to `f`, inclusive) are expressed in lower case. == Parameters [cols="1,4"] |=== | Name| Description | *stream* | the output stream | *value* | the pointer value to print |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#