Loading [MathJax]/extensions/tex2jax.js
E.V.E
v2023.02.15
 
All Classes Namespaces Functions Variables Typedefs Enumerations Friends Modules Pages Concepts
Loading...
Searching...
No Matches

◆ is_aligned() [3/4]

template<typename T , typename Lanes >
constexpr 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.