Mjolnir Core
Core functionality of the Mjolnir API

◆ is_aligned() [1/2]

auto is_aligned ( const volatile T_Type *  pointer) -> bool
inlinenoexcept

Check if a passed pointer is aligned.

Template Parameters
t_alignmentRequired alignment
T_TypeThe pointer type
Parameters
[in]pointerPointer that should be checked
Returns
true or false