|
constexprnoexcept |
Checks if a pointer satisfy an alignment constraint.
ptr | Pointer to check |
Alignment | Alignment constraint to verify. Behavior is undefined if this constraint is not a power of 2. |
true
if ptr
is aligned over Alignment
, false
otherwise.