BloombergLP::bsls::Alignment::is8ByteAligned

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

Synopsis

Declared in <bsls_alignment.h>

static
bool
is8ByteAligned(void const* address);

Description

DEPRECATED: Use AlignmentUtil::is8ByteAligned instead.

Return Value

true if address is 8-byte aligned, else false

Parameters

NameDescription
addresspointer whose alignment is tested