nu_is_aligned

Gets whether value is aligned to alignment

nothrow @nogc @trusted pure
bool
nu_is_aligned
(
T
)
(,
size_t alignment
)

Parameters

value T

Value to check

alignment size_t

The alignment to compare the pointer to.

Return Value

Type: bool

Whether value is aligned to alignment

Meta