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