[#BloombergLP-bsls-PointerCastUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::PointerCastUtil
:relfileprefix: ../../
:mrdocs:

This `struct` provides a namespace for a `static` utility function that allows casting between function and data pointers&period;

== Synopsis

Declared in `&lt;bsls&lowbar;pointercastutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct PointerCastUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/PointerCastUtil/cast.adoc[`cast`] 
| Return the specified `from` value cast to `TO&lowbar;TYPE`&period;
|===



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