E.V.E
v2023.02.15
Loading...
Searching...
No Matches
◆
is_aligned()
[4/4]
template<std::size_t Alignment, std::integral T>
bool eve::is_aligned
(
T
v
)
constexpr
noexcept
Parameters
v
Integral value 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