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