E.V.E
v2023.02.15

◆ is_aligned() [1/4]

template<std::size_t A, typename T , typename Other >
constexpr bool eve::is_aligned ( aligned_ptr< T, Other > const &  ptr)
constexprnoexcept

Checks if an aligned_ptr is aligned on a given alignment.

Parameters
ptraligned_ptr to checks
Template Parameters
AAlignment constraint to verify
Returns
A boolean indicating if ptr is compatible with the Other alignment.