E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ is_aligned() [3/4]

template<typename T , typename Lanes >
bool eve::is_aligned ( T * ptr,
Lanes lanes )
constexprnoexcept
Parameters
ptrPointer to check
lanesAlignment constraint to verify expressed as a SIMD register number of lanes.
Returns
true if ptr is aligned over the alignment implied by lanes, false otherwise.