[#BloombergLP-bsls-debugprint-070] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::debugprint :relfileprefix: ../../ :mrdocs: Print to the console the specified function pointer, `v`, formatted as a hexadecimal integer. On some platforms (notably Windows), a function pointer is treated differently from an object pointer, and the compiler will not be able to determine which `void *` overload of `debugprint` should be used for a function pointer. Therefore an overload of `debugprint` is provided specifically for function pointers. Because the type signature of a function pointer varies with its return type as well as with its argument list, a template function is used, to provide matches for all return types. == Synopsis Declared in `<bsls_bsltestutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class RESULT> void debugprint(RESULT(* v)()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#