Return the smallest non-negative offset in bytes that, when added to the specified address, yields the specified alignment. The behavior is undefined unless 0 < alignment and alignment is a power of 2.
Declared in <bsls_alignment.h>
static
int
calculateAlignmentOffset(
void const* address,
int alignment);
DEPRECATED: Use AlignmentUtil::calculateAlignmentOffset instead.