Return whether the specified address is aligned on a 4-byte boundary.
Declared in <bsls_alignmentutil.h>
static
bool
is4ByteAligned(void const* address);
Return true if the specified address is aligned on a 4-byte boundary (i.e., the numerical value of address is evenly divisible by 4), and false otherwise.
true if address is 4-byte aligned, else false
| Name | Description |
|---|---|
| address | pointer whose alignment is tested |