Return the alignment of the specified address. Returns 0 if address is 0. Note that the returned value might be larger than BSLS_MAX_ALIGNMENT.
Declared in <bsls_alignmentutil.h>
static
std::size_t
pointerAlignment(void const* address);
alignment of address, or 0 if address is 0
| Name | Description |
|---|---|
| address | pointer whose alignment is computed |