E.V.E
v2023.02.15
Loading...
Searching...
No Matches
◆
is_aligned()
[2/4]
template<std::size_t Alignment, typename T >
bool eve::is_aligned
(
T *
ptr
)
constexpr
noexcept
Parameters
ptr
Pointer to check
Template Parameters
Alignment
Alignment constraint to verify. Behavior is undefined if this constraint is not a power of 2.
Returns
true
if
ptr
is aligned over
Alignment
,
false
otherwise.
eve