◆ is_aligned() [1/2]

template<typename T >
bool boost::simd::is_aligned ( T const *  ptr)
noexcept

Checks if a pointer is aligned within current architecture's constraints.

Parameters
ptrPointer to check
Returns
true if ptr is aligned properly; false otherwise