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

Return the alignment of the specified `address`&period; Returns 0 if `address` is 0&period; Note that the returned value might be larger than `BSLS&lowbar;MAX&lowbar;ALIGNMENT`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::size&lowbar;t
pointerAlignment(void const* address);
----


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