Return true if the specified address is aligned on a 4‐byte boundary (i.e., the integer value of address is divisible by 4), and false otherwise.

Synopsis

Declared in <bsls_alignment.h>

static
bool
is4ByteAligned(void const* address);

Description

DEPRECATED: Use AlignmentUtil::is4ByteAligned instead.

Return Value

true if address is 4‐byte aligned, else false

Parameters

Name

Description

address

pointer whose alignment is tested

Created with MrDocs